fix(ci): styling
This commit is contained in:
parent
3990014a93
commit
5d3bbc3631
1 changed files with 8 additions and 1 deletions
|
|
@ -260,7 +260,14 @@ function M.parse_buffer(bufnr)
|
|||
if new_remaining and (prefix == ' ' or prefix == '+') then
|
||||
new_remaining = new_remaining - 1
|
||||
end
|
||||
elseif line == '' and is_unified_diff and old_remaining and old_remaining > 0 and new_remaining and new_remaining > 0 then
|
||||
elseif
|
||||
line == ''
|
||||
and is_unified_diff
|
||||
and old_remaining
|
||||
and old_remaining > 0
|
||||
and new_remaining
|
||||
and new_remaining > 0
|
||||
then
|
||||
table.insert(hunk_lines, ' ')
|
||||
old_remaining = old_remaining - 1
|
||||
new_remaining = new_remaining - 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue