From 67f1d36d1b68a2fff42523ee3544a7f7342500d9 Mon Sep 17 00:00:00 2001 From: kiyan Date: Mon, 27 Sep 2021 19:38:29 +0200 Subject: [PATCH] fix: highlight git new file icon with gitnew not gitdirty --- lua/nvim-tree/renderer/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/nvim-tree/renderer/init.lua b/lua/nvim-tree/renderer/init.lua index 9b40f912..41702287 100644 --- a/lua/nvim-tree/renderer/init.lua +++ b/lua/nvim-tree/renderer/init.lua @@ -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" },