motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit eac5ffd35b2b9fda55161510eecb047105f6e3d6 (tree)
parent aafbdf84cdb47f580b56640ecad999bc5b2e6c10
Author: Tim Pope <code@tpope.net>
Date:   Thu, 23 Jun 2022 14:38:22 -0400

Don't reuse status window for :Gdrop

Diffstat:
Mautoload/fugitive.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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)