diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index c9a5ed7..d543dd3 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -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'