From eac5ffd35b2b9fda55161510eecb047105f6e3d6 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Thu, 23 Jun 2022 14:38:22 -0400 Subject: [PATCH] Don't reuse status window for :Gdrop --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 93b5808..656be7a 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -6083,7 +6083,7 @@ function! fugitive#Open(cmd, bang, mods, arg, ...) abort if file !~# '^\a\a\+:' && !(has('win32') && file =~# '^\a:/$') let file = substitute(file, '.\zs' . (has('win32') ? '[\/]' : '/') . '$', '', '') endif - if a:cmd ==# 'edit' + if a:cmd ==# 'edit' || a:cmd ==# 'drop' call s:BlurStatus() endif return mods . a:cmd . pre . ' ' . s:fnameescape(file)