fix update git hl on refresh even if git icons are disabled
This commit is contained in:
parent
48d433d059
commit
b55cc721da
@ -122,7 +122,7 @@ function M.refresh_tree()
|
||||
-- if stat.mtime.sec ~= M.Tree.last_modified then
|
||||
refresh_nodes(M.Tree)
|
||||
-- end
|
||||
if config.get_icon_state().show_git_icon then
|
||||
if config.get_icon_state().show_git_icon or vim.g.lua_tree_git_hl then
|
||||
git.reload_roots()
|
||||
refresh_git(M.Tree)
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user