@@ -27,32 +27,33 @@ type RefresherConfig struct {
2727}
2828
2929type GuiConfig struct {
30- AuthorColors map [string ]string `yaml:"authorColors"`
31- BranchColors map [string ]string `yaml:"branchColors"`
32- ScrollHeight int `yaml:"scrollHeight"`
33- ScrollPastBottom bool `yaml:"scrollPastBottom"`
34- MouseEvents bool `yaml:"mouseEvents"`
35- SkipUnstageLineWarning bool `yaml:"skipUnstageLineWarning"`
36- SkipStashWarning bool `yaml:"skipStashWarning"`
37- SidePanelWidth float64 `yaml:"sidePanelWidth"`
38- ExpandFocusedSidePanel bool `yaml:"expandFocusedSidePanel"`
39- MainPanelSplitMode string `yaml:"mainPanelSplitMode"`
40- Language string `yaml:"language"`
41- TimeFormat string `yaml:"timeFormat"`
42- Theme ThemeConfig `yaml:"theme"`
43- CommitLength CommitLengthConfig `yaml:"commitLength"`
44- SkipNoStagedFilesWarning bool `yaml:"skipNoStagedFilesWarning"`
45- ShowListFooter bool `yaml:"showListFooter"`
46- ShowFileTree bool `yaml:"showFileTree"`
47- ShowRandomTip bool `yaml:"showRandomTip"`
48- ShowCommandLog bool `yaml:"showCommandLog"`
49- ShowBottomLine bool `yaml:"showBottomLine"`
50- ShowIcons bool `yaml:"showIcons"`
51- CommandLogSize int `yaml:"commandLogSize"`
52- SplitDiff string `yaml:"splitDiff"`
53- SkipRewordInEditorWarning bool `yaml:"skipRewordInEditorWarning"`
54- WindowSize string `yaml:"windowSize"`
55- Border string `yaml:"border"`
30+ AuthorColors map [string ]string `yaml:"authorColors"`
31+ BranchColors map [string ]string `yaml:"branchColors"`
32+ ScrollHeight int `yaml:"scrollHeight"`
33+ ScrollPastBottom bool `yaml:"scrollPastBottom"`
34+ MouseEvents bool `yaml:"mouseEvents"`
35+ SkipUnstageLineWarning bool `yaml:"skipUnstageLineWarning"`
36+ SkipStashWarning bool `yaml:"skipStashWarning"`
37+ SidePanelWidth float64 `yaml:"sidePanelWidth"`
38+ ExpandFocusedSidePanel bool `yaml:"expandFocusedSidePanel"`
39+ MainPanelSplitMode string `yaml:"mainPanelSplitMode"`
40+ Language string `yaml:"language"`
41+ TimeFormat string `yaml:"timeFormat"`
42+ Theme ThemeConfig `yaml:"theme"`
43+ CommitLength CommitLengthConfig `yaml:"commitLength"`
44+ SkipNoStagedFilesWarning bool `yaml:"skipNoStagedFilesWarning"`
45+ ShowListFooter bool `yaml:"showListFooter"`
46+ ShowFileTree bool `yaml:"showFileTree"`
47+ ShowRandomTip bool `yaml:"showRandomTip"`
48+ ShowCommandLog bool `yaml:"showCommandLog"`
49+ ShowBottomLine bool `yaml:"showBottomLine"`
50+ ShowIcons bool `yaml:"showIcons"`
51+ ExperimentalShowBranchHeads bool `yaml:"experimentalShowBranchHeads"`
52+ CommandLogSize int `yaml:"commandLogSize"`
53+ SplitDiff string `yaml:"splitDiff"`
54+ SkipRewordInEditorWarning bool `yaml:"skipRewordInEditorWarning"`
55+ WindowSize string `yaml:"windowSize"`
56+ Border string `yaml:"border"`
5657}
5758
5859type ThemeConfig struct {
@@ -408,18 +409,19 @@ func GetDefaultConfig() *UserConfig {
408409 UnstagedChangesColor : []string {"red" },
409410 DefaultFgColor : []string {"default" },
410411 },
411- CommitLength : CommitLengthConfig {Show : true },
412- SkipNoStagedFilesWarning : false ,
413- ShowListFooter : true ,
414- ShowCommandLog : true ,
415- ShowBottomLine : true ,
416- ShowFileTree : true ,
417- ShowRandomTip : true ,
418- ShowIcons : false ,
419- CommandLogSize : 8 ,
420- SplitDiff : "auto" ,
421- SkipRewordInEditorWarning : false ,
422- Border : "single" ,
412+ CommitLength : CommitLengthConfig {Show : true },
413+ SkipNoStagedFilesWarning : false ,
414+ ShowListFooter : true ,
415+ ShowCommandLog : true ,
416+ ShowBottomLine : true ,
417+ ShowFileTree : true ,
418+ ShowRandomTip : true ,
419+ ShowIcons : false ,
420+ ExperimentalShowBranchHeads : false ,
421+ CommandLogSize : 8 ,
422+ SplitDiff : "auto" ,
423+ SkipRewordInEditorWarning : false ,
424+ Border : "single" ,
423425 },
424426 Git : GitConfig {
425427 Paging : PagingConfig {
0 commit comments