fix "removed lines" bug
The signs for removed lines were set in the wrong manner, because I used the wrong part from the diff file. It's working correct now.
This commit is contained in:
parent
3e97b592dd
commit
bb16476811
@ -177,7 +177,7 @@ function! s:process_diff(diff) abort
|
||||
endwhile
|
||||
" An old line was removed.
|
||||
elseif (old_count >= 1) && (new_count == 0)
|
||||
exe 'sign place '. s:id_top .' line='. old_line .' name=SignifyDelete file='. expand('%:p')
|
||||
exe 'sign place '. s:id_top .' line='. new_line .' name=SignifyDelete file='. expand('%:p')
|
||||
let s:id_top += 1
|
||||
" A line was changed.
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user