fix: highlight git new file icon with gitnew not gitdirty

This commit is contained in:
kiyan
2021-09-27 19:38:29 +02:00
parent 11659aaa65
commit 67f1d36d1b

View File

@@ -198,7 +198,7 @@ if icon_state.show_git_icon then
{ icon = icon_state.icons.git_icons.staged, hl = "NvimTreeGitStaged" },
{ icon = icon_state.icons.git_icons.unstaged, hl = "NvimTreeGitDirty" }
},
["??"] = { { icon = icon_state.icons.git_icons.untracked, hl = "NvimTreeGitDirty" } },
["??"] = { { icon = icon_state.icons.git_icons.untracked, hl = "NvimTreeGitNew" } },
["R "] = { { icon = icon_state.icons.git_icons.renamed, hl = "NvimTreeGitRenamed" } },
["RM"] = {
{ icon = icon_state.icons.git_icons.unstaged, hl = "NvimTreeGitDirty" },