1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-09 09:22:48 +03:00

allow hiding random tip

This commit is contained in:
Jesse Duffield
2021-04-12 21:41:12 +10:00
parent 76697280c9
commit 4fb2dba587
3 changed files with 11 additions and 6 deletions

View File

@@ -36,6 +36,7 @@ type GuiConfig struct {
CommitLength CommitLengthConfig `yaml:"commitLength"`
SkipNoStagedFilesWarning bool `yaml:"skipNoStagedFilesWarning"`
ShowFileTree bool `yaml:"showFileTree"`
ShowRandomTip bool `yaml:"showRandomTip"`
ShowCommandLog bool `yaml:"showCommandLog"`
CommandLogSize int `yaml:"commandLogSize"`
}
@@ -303,6 +304,7 @@ func GetDefaultConfig() *UserConfig {
SkipNoStagedFilesWarning: false,
ShowCommandLog: true,
ShowFileTree: false,
ShowRandomTip: true,
CommandLogSize: 8,
},
Git: GitConfig{