Strip out carriage returns

This commit is contained in:
Teo Ljungberg 2018-04-04 21:03:56 +02:00 committed by Tim Pope
parent 63a80f4bfe
commit 40d78f07de

View File

@ -2728,6 +2728,7 @@ function! s:BufReadObject() abort
if lnum
silent keepjumps delete_
end
silent keepjumps 1,/^diff --git\|\%$/g/\r$/s///
keepjumps 1
endif
elseif b:fugitive_type ==# 'blob'