fix vim.g.nvim_tree_git_hl is not work (#232)
- it doest not disable git status reloading
This commit is contained in:
parent
784bba77c5
commit
4c46d2b192
@ -128,7 +128,7 @@ function M.refresh_tree()
|
||||
|
||||
refresh_nodes(M.Tree)
|
||||
|
||||
if config.get_icon_state().show_git_icon or vim.g.nvim_tree_git_hl then
|
||||
if config.get_icon_state().show_git_icon or vim.g.nvim_tree_git_hl == 1 then
|
||||
git.reload_roots()
|
||||
refresh_git(M.Tree)
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user