summaryrefslogtreecommitdiffstats
path: root/pkg/config/user_config.go
diff options
context:
space:
mode:
authorHiromasaNojima <67505578+HiromasaNojima@users.noreply.github.com>2022-05-08 17:24:55 +0900
committerHiromasaNojima <67505578+HiromasaNojima@users.noreply.github.com>2022-05-08 17:24:55 +0900
commit1ef585969fbbbf752af0db3a8ff688cda50a2f9f (patch)
tree63ec56a38de3c9625628fee71307750efa8689a7 /pkg/config/user_config.go
parent125e948d82c33226f92a1ebe18361633116370d3 (diff)
add option to always show unstaged/staged panels
Diffstat (limited to 'pkg/config/user_config.go')
-rw-r--r--pkg/config/user_config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go
index 900dd2e97..5c90f85a7 100644
--- a/pkg/config/user_config.go
+++ b/pkg/config/user_config.go
@@ -46,6 +46,7 @@ type GuiConfig struct {
ShowBottomLine bool `yaml:"showBottomLine"`
ShowIcons bool `yaml:"showIcons"`
CommandLogSize int `yaml:"commandLogSize"`
+ SplitDiff string `yaml:"splitDiff"`
}
type ThemeConfig struct {
@@ -360,6 +361,7 @@ func GetDefaultConfig() *UserConfig {
ShowRandomTip: true,
ShowIcons: false,
CommandLogSize: 8,
+ SplitDiff: "auto",
},
Git: GitConfig{
Paging: PagingConfig{