fix git highlight works without the icons

This commit is contained in:
kiyan42 2020-08-04 20:44:32 +02:00
parent 859be0bb76
commit 42ce8e432d

View File

@ -199,7 +199,7 @@ function M.populate(entries, cwd)
table.insert(entries, file)
end
if not icon_config.show_git_icon and vim.g.lua_tree_git_hl ~= 1 then
if (not icon_config.show_git_icon) and vim.g.lua_tree_git_hl ~= 1 then
return
end