@@ -103,6 +103,8 @@ if vim.g.nvim_tree_git_hl == 1 then
|
|||||||
local git_hl = {
|
local git_hl = {
|
||||||
["M "] = { { hl = "NvimTreeFileStaged" } },
|
["M "] = { { hl = "NvimTreeFileStaged" } },
|
||||||
[" M"] = { { hl = "NvimTreeFileDirty" } },
|
[" M"] = { { hl = "NvimTreeFileDirty" } },
|
||||||
|
["C "] = { { hl = "NvimTreeFileStaged" } },
|
||||||
|
[" C"] = { { hl = "NvimTreeFileDirty" } },
|
||||||
[" T"] = { { hl = "NvimTreeFileDirty" } },
|
[" T"] = { { hl = "NvimTreeFileDirty" } },
|
||||||
["MM"] = {
|
["MM"] = {
|
||||||
{ hl = "NvimTreeFileStaged" },
|
{ hl = "NvimTreeFileStaged" },
|
||||||
@@ -175,6 +177,8 @@ if icon_state.show_git_icon then
|
|||||||
local git_icon_state = {
|
local git_icon_state = {
|
||||||
["M "] = { { icon = icon_state.icons.git_icons.staged, hl = "NvimTreeGitStaged" } },
|
["M "] = { { icon = icon_state.icons.git_icons.staged, hl = "NvimTreeGitStaged" } },
|
||||||
[" M"] = { { icon = icon_state.icons.git_icons.unstaged, hl = "NvimTreeGitDirty" } },
|
[" M"] = { { icon = icon_state.icons.git_icons.unstaged, hl = "NvimTreeGitDirty" } },
|
||||||
|
["C "] = { { icon = icon_state.icons.git_icons.staged, hl = "NvimTreeGitStaged" } },
|
||||||
|
[" C"] = { { icon = icon_state.icons.git_icons.unstaged, hl = "NvimTreeGitDirty" } },
|
||||||
[" T"] = { { icon = icon_state.icons.git_icons.unstaged, hl = "NvimTreeGitDirty" } },
|
[" T"] = { { icon = icon_state.icons.git_icons.unstaged, hl = "NvimTreeGitDirty" } },
|
||||||
["MM"] = {
|
["MM"] = {
|
||||||
{ icon = icon_state.icons.git_icons.staged, hl = "NvimTreeGitStaged" },
|
{ icon = icon_state.icons.git_icons.staged, hl = "NvimTreeGitStaged" },
|
||||||
|
|||||||
Reference in New Issue
Block a user