Merge pull request #74 from kyazdani42/fix/space-between-icon-filename
fix space between icon and filename with special file
This commit is contained in:
commit
9a55ea9464
@ -202,6 +202,7 @@ local function update_draw_data(tree, depth, markers)
|
|||||||
local git_icons
|
local git_icons
|
||||||
if special[node.name] then
|
if special[node.name] then
|
||||||
icon = icon_state.icons.default
|
icon = icon_state.icons.default
|
||||||
|
if icon ~= "" then icon = icon.." " end
|
||||||
git_icons = get_git_icons(node, index, offset, 0)
|
git_icons = get_git_icons(node, index, offset, 0)
|
||||||
table.insert(hl, {'LuaTreeSpecialFile', index, offset+#git_icons, -1})
|
table.insert(hl, {'LuaTreeSpecialFile', index, offset+#git_icons, -1})
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user