File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ function Builder:_unwrap_git_data(git_icons_and_hl_groups, offset)
97
97
for _ , v in ipairs (git_icons_and_hl_groups ) do
98
98
if # v .icon > 0 then
99
99
self :_insert_highlight (v .hl , offset + # icon , offset + # icon + # v .icon )
100
- icon = icon .. v .icon
100
+ icon = icon .. v .icon .. self . git_icon_padding
101
101
end
102
102
end
103
103
return icon
@@ -138,11 +138,11 @@ end
138
138
139
139
function Builder :_format_line (before , after , git_icons )
140
140
return string.format (
141
- " %s%s%s%s" ,
141
+ " %s%s%s %s" ,
142
142
before ,
143
- # git_icons > 0 and not self .is_git_after and git_icons .. self . git_icon_padding or " " ,
143
+ self .is_git_after and " " or git_icons ,
144
144
after ,
145
- # git_icons > 0 and self .is_git_after and self . git_icon_padding .. git_icons or " "
145
+ self .is_git_after and git_icons or " "
146
146
)
147
147
end
148
148
You can’t perform that action at this time.
0 commit comments