diff options
author | Robert Verst <robert@verst.eu> | 2021-05-19 19:14:32 +0200 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-06-05 10:56:46 +1000 |
commit | 472288c81b3ad48dc86e5a8538c11c7a18e6a604 (patch) | |
tree | 0b8ba32cc6d66ca1d4b31b894b97422e18bd67fc /pkg/config | |
parent | 258eedb38c6e8692565d74a92e3590da477dea6b (diff) |
Add user config to change the sort order of tags
Diffstat (limited to 'pkg/config')
-rw-r--r-- | pkg/config/user_config.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go index cf193011b..528830874 100644 --- a/pkg/config/user_config.go +++ b/pkg/config/user_config.go @@ -39,6 +39,7 @@ type GuiConfig struct { ShowRandomTip bool `yaml:"showRandomTip"` ShowCommandLog bool `yaml:"showCommandLog"` CommandLogSize int `yaml:"commandLogSize"` + SortTagsDescending bool `yaml:"sortTagsDescending"` } type ThemeConfig struct { @@ -307,6 +308,7 @@ func GetDefaultConfig() *UserConfig { ShowFileTree: false, ShowRandomTip: true, CommandLogSize: 8, + SortTagsDescending: false, }, Git: GitConfig{ Paging: PagingConfig{ |