From bb16476811817ddd973c21cb3791c98a394c47ea Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Wed, 6 Mar 2013 00:57:49 +0100 Subject: [PATCH] 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. --- plugin/signify.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/signify.vim b/plugin/signify.vim index a664ca9..f4e97fe 100644 --- a/plugin/signify.vim +++ b/plugin/signify.vim @@ -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