mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00:00
Ignore leading and trailing space around values when parsing config lines
This commit is contained in:
parent
feb5da70a8
commit
7803b07e7f
1 changed files with 1 additions and 0 deletions
|
|
@ -89,6 +89,7 @@ func (self *ConfigParser) parse(scanner Scanner, name, base_path_for_includes st
|
|||
continue
|
||||
}
|
||||
key, val, _ := strings.Cut(line, " ")
|
||||
val = strings.TrimSpace(val)
|
||||
switch key {
|
||||
default:
|
||||
err := self.LineHandler(key, val)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue