From 7e6177b8ffccb31593379db6856f4a9a2a346317 Mon Sep 17 00:00:00 2001 From: kiyan Date: Sun, 13 Dec 2020 16:48:12 +0100 Subject: [PATCH] new file untracked is git dirty, new file unstaged is git new --- lua/lib/renderer.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lua/lib/renderer.lua b/lua/lib/renderer.lua index d159a3b1..47d68b3d 100644 --- a/lua/lib/renderer.lua +++ b/lua/lib/renderer.lua @@ -126,12 +126,15 @@ if icon_state.show_git_icon then { icon = icon_state.icons.git_icons.staged, hl = "LuaTreeGitStaged" }, { icon = icon_state.icons.git_icons.untracked, hl = "LuaTreeGitNew" } }, + [" A"] = { + { icon = icon_state.icons.git_icons.untracked, hl = "LuaTreeGitNew" }, + }, ["AM"] = { { icon = icon_state.icons.git_icons.staged, hl = "LuaTreeGitStaged" }, { icon = icon_state.icons.git_icons.untracked, hl = "LuaTreeGitNew" }, { icon = icon_state.icons.git_icons.unstaged, hl = "LuaTreeGitDirty" } }, - ["??"] = { { icon = icon_state.icons.git_icons.untracked, hl = "LuaTreeGitNew" } }, + ["??"] = { { icon = icon_state.icons.git_icons.untracked, hl = "LuaTreeGitDirty" } }, ["R "] = { { icon = icon_state.icons.git_icons.renamed, hl = "LuaTreeGitRenamed" } }, ["UU"] = { { icon = icon_state.icons.git_icons.unmerged, hl = "LuaTreeGitMerge" } }, [" D"] = { { icon = icon_state.icons.git_icons.deleted, hl = "LuaTreeGitDeleted" } },