parent
337e1a8c24
commit
5655c69459
1 changed files with 1 additions and 1 deletions
|
@ -585,7 +585,7 @@ endfunction
|
|||
" Function: s:close {{{1
|
||||
function! s:close() abort
|
||||
if len(filter(range(0, bufnr('$')), 'buflisted(v:val)'))
|
||||
if bufloaded(bufnr('#'))
|
||||
if bufloaded(bufnr('#')) && bufnr('#') != bufnr('%')
|
||||
buffer #
|
||||
else
|
||||
bnext
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue