fix vim.g.nvim_tree_git_hl is not work (#232)
- it doest not disable git status reloading
This commit is contained in:
committed by
GitHub
parent
784bba77c5
commit
4c46d2b192
@@ -128,7 +128,7 @@ function M.refresh_tree()
|
|||||||
|
|
||||||
refresh_nodes(M.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()
|
git.reload_roots()
|
||||||
refresh_git(M.Tree)
|
refresh_git(M.Tree)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user