Simplify some of the git icon states. (#339)

This commit is contained in:
Sindre T. Strøm
2021-04-22 22:29:20 +02:00
committed by GitHub
parent 468638e7e0
commit f398695146

View File

@@ -145,14 +145,12 @@ if icon_state.show_git_icon then
},
["A "] = {
{ icon = icon_state.icons.git_icons.staged, hl = "NvimTreeGitStaged" },
{ icon = icon_state.icons.git_icons.untracked, hl = "NvimTreeGitNew" }
},
[" A"] = {
{ icon = icon_state.icons.git_icons.untracked, hl = "NvimTreeGitNew" },
},
["AM"] = {
{ icon = icon_state.icons.git_icons.staged, hl = "NvimTreeGitStaged" },
{ icon = icon_state.icons.git_icons.untracked, hl = "NvimTreeGitNew" },
{ icon = icon_state.icons.git_icons.unstaged, hl = "NvimTreeGitDirty" }
},
["??"] = { { icon = icon_state.icons.git_icons.untracked, hl = "NvimTreeGitDirty" } },