delete buffer if it loaded
- to avod error when deleting nonexisting buffer
This commit is contained in:
parent
e1e2c64caa
commit
06480ede43
@ -38,7 +38,7 @@ func vundle#scripts#bundle_names(names)
|
||||
endf
|
||||
|
||||
func! vundle#scripts#view(title, headers, results)
|
||||
if exists('g:vundle_view')
|
||||
if exists('g:vundle_view') && bufloaded(g:vundle_view)
|
||||
exec g:vundle_view.'bd!'
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user