add file highlight for git attributes and remove the space before the git icon

This commit is contained in:
kiyan42
2020-08-02 11:34:43 +02:00
parent c552a4f4f5
commit a25ac38db1
6 changed files with 80 additions and 15 deletions

View File

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