From 2c453c9b9f55836269794c404c0df190281f685e Mon Sep 17 00:00:00 2001 From: kiyan42 Date: Tue, 4 Aug 2020 20:44:32 +0200 Subject: [PATCH] fix git highlight works without the icons --- lua/lib/populate.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lib/populate.lua b/lua/lib/populate.lua index 4f022c9a..c8499649 100644 --- a/lua/lib/populate.lua +++ b/lua/lib/populate.lua @@ -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