Skip to content

Commit ec3f10e

Browse files
committed
chore: add R git state
closes #723
1 parent 9f90be7 commit ec3f10e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lua/nvim-tree/renderer/init.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ if vim.g.nvim_tree_git_hl == 1 then
150150
},
151151
[" A"] = { { hl = "none" } },
152152
["RM"] = { { hl = "NvimTreeFileRenamed" } },
153+
[" R"] = { { hl = "NvimTreeFileRenamed" } },
153154
["!!"] = { { hl = "NvimTreeGitIgnored" } },
154155
dirty = { { hl = "NvimTreeFileDirty" } },
155156
}
@@ -206,6 +207,7 @@ if icon_state.show_git_icon then
206207
},
207208
["??"] = { { icon = icon_state.icons.git_icons.untracked, hl = "NvimTreeGitNew" } },
208209
["R "] = { { icon = icon_state.icons.git_icons.renamed, hl = "NvimTreeGitRenamed" } },
210+
[" R"] = { { icon = icon_state.icons.git_icons.renamed, hl = "NvimTreeGitRenamed" } },
209211
["RM"] = {
210212
{ icon = icon_state.icons.git_icons.unstaged, hl = "NvimTreeGitDirty" },
211213
{ icon = icon_state.icons.git_icons.renamed, hl = "NvimTreeGitRenamed" },

0 commit comments

Comments
 (0)