fix: highlight first character when trailing is activated

This commit is contained in:
kiyan
2021-05-17 21:40:28 +02:00
parent f398695146
commit 6c9927180f

View File

@@ -17,7 +17,7 @@ local function get_trailing_length()
end end
local set_folder_hl = function(line, depth, git_icon_len, _, hl_group) local set_folder_hl = function(line, depth, git_icon_len, _, hl_group)
table.insert(hl, {hl_group, line, depth+git_icon_len+get_trailing_length(), -1}) table.insert(hl, {hl_group, line, depth+git_icon_len, -1})
end end
if icon_state.show_folder_icon then if icon_state.show_folder_icon then