hotfix git state AA

This commit is contained in:
kiyan
2021-06-11 16:19:08 +02:00
parent 43a7b529c0
commit 4a043ff5eb

View File

@@ -104,6 +104,11 @@ if vim.g.nvim_tree_git_hl == 1 then
{ hl = "NvimTreeFileStaged" },
{ hl = "NvimTreeFileNew" }
},
-- not sure about this one
["AA"] = {
{ hl = "NvimTreeFileMerge" },
{ hl = "NvimTreeFileStaged" }
},
["AD"] = {
{ hl = "NvimTreeFileStaged" },
},
@@ -170,6 +175,11 @@ if icon_state.show_git_icon then
[" A"] = {
{ icon = icon_state.icons.git_icons.untracked, hl = "NvimTreeGitNew" },
},
-- not sure about this one
["AA"] = {
{ icon = icon_state.icons.git_icons.unmerged, hl = "NvimTreeGitMerge" },
{ 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.unstaged, hl = "NvimTreeGitDirty" }