mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-17 22:14:53 +02:00
When parsing theme metadata ignore the name if it is the placeholder value from the template
This commit is contained in:
@@ -507,7 +507,9 @@ func parse_theme_metadata(path string) (*ThemeMetadata, map[string]string, error
|
||||
val = strings.TrimSpace(val)
|
||||
switch key {
|
||||
case "name":
|
||||
ans.Name = val
|
||||
if val != "The name of the theme (if not present, derived from filename)" {
|
||||
ans.Name = val
|
||||
}
|
||||
case "author":
|
||||
ans.Author = val
|
||||
case "upstream":
|
||||
|
||||
Reference in New Issue
Block a user