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 @@ -94,7 +94,7 @@ function Builder:_unwrap_git_data(git_icons_and_hl_groups, offset)
94
94
for _ , v in ipairs (git_icons_and_hl_groups ) do
95
95
if # v .icon > 0 then
96
96
self :_insert_highlight (v .hl , offset + # icon , offset + # icon + # v .icon )
97
- icon = icon .. v .icon .. self . git_icon_padding
97
+ icon = icon .. v .icon
98
98
end
99
99
end
100
100
return icon
@@ -135,11 +135,11 @@ end
135
135
136
136
function Builder :_format_line (before , after , git_icons )
137
137
return string.format (
138
- " %s%s%s %s" ,
138
+ " %s%s%s%s" ,
139
139
before ,
140
- self .is_git_after and " " or git_icons ,
140
+ # git_icons > 0 and not self .is_git_after and git_icons .. self . git_icon_padding or " " ,
141
141
after ,
142
- self .is_git_after and git_icons or " "
142
+ # git_icons > 0 and self .is_git_after and self . git_icon_padding .. git_icons or " "
143
143
)
144
144
end
145
145
You can’t perform that action at this time.
0 commit comments