fix space between icon and filename with special file

This commit is contained in:
kiyan42 2020-08-03 12:38:15 +02:00
parent 194e73f519
commit 600853ec4d

View File

@ -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