From b34083549ee1686e3748580565ec08f131e97d7e Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sun, 6 May 2018 19:10:51 -0400 Subject: [PATCH] Make :s use more robust --- plugin/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index cdd0563..550c374 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -2734,7 +2734,7 @@ function! s:BufReadObject() abort if getline('.') ==# 'parent ' silent keepjumps delete_ else - silent keepjumps s/\%(^parent\)\@\)\=$','W',line('.')+3) if lnum