Strip out carriage returns

This commit is contained in:
Teo Ljungberg authored and Tim Pope committed 2018-04-15 15:54:35 -04:00
1 parent 63a80f4bfe
commit 40d78f07de
1 file changed
+1
+1
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'