mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-08 11:33:47 -05:00
Strip out carriage returns
This commit is contained in:
@@ -2728,6 +2728,7 @@ function! s:BufReadObject() abort
|
|||||||
if lnum
|
if lnum
|
||||||
silent keepjumps delete_
|
silent keepjumps delete_
|
||||||
end
|
end
|
||||||
|
silent keepjumps 1,/^diff --git\|\%$/g/\r$/s///
|
||||||
keepjumps 1
|
keepjumps 1
|
||||||
endif
|
endif
|
||||||
elseif b:fugitive_type ==# 'blob'
|
elseif b:fugitive_type ==# 'blob'
|
||||||
|
|||||||
Reference in New Issue
Block a user