diff --git a/lua/lib/renderer.lua b/lua/lib/renderer.lua index b37015a6..391f8ba0 100644 --- a/lua/lib/renderer.lua +++ b/lua/lib/renderer.lua @@ -42,7 +42,7 @@ if icon_state.show_file_icon then if icon 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 return icon.." " else