|
|
@@ -739,7 +739,7 @@ endfunction
|
|
|
|
|
|
" Function: s:close {{{1
|
|
|
function! s:close() abort
|
|
|
- if len(filter(range(0, bufnr('$')), 'buflisted(v:val)'))
|
|
|
+ if len(filter(range(0, bufnr('$')), 'buflisted(v:val)')) - &buflisted
|
|
|
if bufloaded(bufnr('#')) && bufnr('#') != bufnr('%')
|
|
|
buffer #
|
|
|
else
|