mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-08 21:25:32 +02:00
run modernize
This commit is contained in:
@@ -103,7 +103,7 @@ func ConfigDirForName(name string) (config_dir string) {
|
||||
add(xh)
|
||||
}
|
||||
if dirs := os.Getenv("XDG_CONFIG_DIRS"); dirs != "" {
|
||||
for _, candidate := range strings.Split(dirs, ":") {
|
||||
for candidate := range strings.SplitSeq(dirs, ":") {
|
||||
add(candidate)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user