mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-08 11:33:47 -05:00
Avoid unnamed buffer with :set hidden
Resolves: https://github.com/tpope/vim-fugitive/issues/2004
This commit is contained in:
@@ -6103,7 +6103,7 @@ function! s:BlurStatus() abort
|
||||
if len(winnrs)
|
||||
exe winnrs[0].'wincmd w'
|
||||
else
|
||||
belowright new
|
||||
belowright new +setl\ bufhidden=delete
|
||||
endif
|
||||
if &diff
|
||||
call fugitive#DiffClose()
|
||||
|
||||
Reference in New Issue
Block a user