From 600853ec4d4ab89268ee3b26bab84a6d278b4eba Mon Sep 17 00:00:00 2001 From: kiyan42 Date: Mon, 3 Aug 2020 12:38:15 +0200 Subject: [PATCH] fix space between icon and filename with special file --- lua/lib/renderer.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/lib/renderer.lua b/lua/lib/renderer.lua index 670f84f8..10132011 100644 --- a/lua/lib/renderer.lua +++ b/lua/lib/renderer.lua @@ -202,6 +202,7 @@ local function update_draw_data(tree, depth, markers) local git_icons if special[node.name] then icon = icon_state.icons.default + if icon ~= "" then icon = icon.." " end git_icons = get_git_icons(node, index, offset, 0) table.insert(hl, {'LuaTreeSpecialFile', index, offset+#git_icons, -1}) else