1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-23 00:39:13 +02:00

store popup version in state not config so that we never need to write to the user config

This commit is contained in:
Jesse Duffield
2020-10-04 08:45:08 +11:00
parent 4912205adb
commit ca31e5258f
4 changed files with 46 additions and 57 deletions

View File

@ -208,8 +208,8 @@ type UserConfig struct {
} `yaml:"submodules"`
} `yaml:"keybinding"`
// OS determines what defaults are set for opening files and links
OS OSConfig `yaml:"os,omitempty"`
StartupPopupVersion int `yaml:"startupPopupVersion"`
CustomCommands []CustomCommand `yaml:"customCommands"`
Services map[string]string `yaml:"services"`
OS OSConfig `yaml:"os,omitempty"`
DisableStartupPopups bool `yaml:"disableStartupPopups"`
CustomCommands []CustomCommand `yaml:"customCommands"`
Services map[string]string `yaml:"services"`
}