File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,8 @@ if vim.g.nvim_tree_git_hl == 1 then
103
103
local git_hl = {
104
104
[" M " ] = { { hl = " NvimTreeFileStaged" } },
105
105
[" M" ] = { { hl = " NvimTreeFileDirty" } },
106
+ [" C " ] = { { hl = " NvimTreeFileStaged" } },
107
+ [" C" ] = { { hl = " NvimTreeFileDirty" } },
106
108
[" T" ] = { { hl = " NvimTreeFileDirty" } },
107
109
[" MM" ] = {
108
110
{ hl = " NvimTreeFileStaged" },
@@ -175,6 +177,8 @@ if icon_state.show_git_icon then
175
177
local git_icon_state = {
176
178
[" M " ] = { { icon = icon_state .icons .git_icons .staged , hl = " NvimTreeGitStaged" } },
177
179
[" M" ] = { { icon = icon_state .icons .git_icons .unstaged , hl = " NvimTreeGitDirty" } },
180
+ [" C " ] = { { icon = icon_state .icons .git_icons .staged , hl = " NvimTreeGitStaged" } },
181
+ [" C" ] = { { icon = icon_state .icons .git_icons .unstaged , hl = " NvimTreeGitDirty" } },
178
182
[" T" ] = { { icon = icon_state .icons .git_icons .unstaged , hl = " NvimTreeGitDirty" } },
179
183
[" MM" ] = {
180
184
{ icon = icon_state .icons .git_icons .staged , hl = " NvimTreeGitStaged" },
You can’t perform that action at this time.
0 commit comments