Revert "Show sign on first line when line(s) deleted at start of file."

Signs aren't shown for deleted lines which aren't at the start of the
file.

This reverts commit 0fd18d66f6.
This commit is contained in:
Andy Stewart
2014-05-31 16:57:15 +02:00
parent 0fd18d66f6
commit d1e66b71f9
7 changed files with 12 additions and 22 deletions

View File

@@ -142,11 +142,7 @@ function! diff#process_added(modifications, from_count, to_count, to_line)
endfunction
function! diff#process_removed(modifications, from_count, to_count, to_line)
if a:to_line == 0
call add(a:modifications, [1, 'removed_first_line'])
else
call add(a:modifications, [0, 'removed'])
endif
call add(a:modifications, [a:to_line, 'removed'])
endfunction
function! diff#process_modified(modifications, from_count, to_count, to_line)