Avoid unnamed buffer with :set hidden

Resolves: https://github.com/tpope/vim-fugitive/issues/2004
This commit is contained in:
Tim Pope
2022-06-01 12:53:42 -04:00
parent fb07620878
commit f60fc79e53

View File

@@ -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()