mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
Fix unnecessary modified sign in modified-and-removed diff.
This bug didn't affect anything because the unnecessary sign was overwritten by the correct sign.
This commit is contained in:
@@ -151,5 +151,5 @@ function! diff#process_modified_and_removed(modifications, from_count, to_count,
|
||||
call add(a:modifications, [line_number, 'modified'])
|
||||
let offset += 1
|
||||
endwhile
|
||||
call add(a:modifications, [a:to_line + offset - 1, 'modified_removed'])
|
||||
let a:modifications[-1] = [a:to_line + offset - 1, 'modified_removed']
|
||||
endfunction
|
||||
|
||||
Reference in New Issue
Block a user