mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-13 05:43:52 -05:00
Don't reuse status window for :Gdrop
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user