fix file icon length

This commit is contained in:
Yiqun Ding 2020-12-20 19:27:42 +08:00 committed by Kiyan
parent 9810f8d8c9
commit 5080c5c44c

View File

@ -42,7 +42,7 @@ if icon_state.show_file_icon then
if icon then if icon then
if hl_group then if hl_group then
table.insert(hl, { hl_group, line, depth, depth + #icon }) table.insert(hl, { hl_group, line, depth, depth + #icon + 1 })
end end
return icon.." " return icon.." "
else else