mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-22 21:45:06 +02:00
Merge pull request #2526 from pfernandez/patch-1
Changed bufloaded back to buflisted
This commit is contained in:
commit
be5bda1f1d
@ -52,7 +52,7 @@ function! airline#extensions#tabline#buflist#list()
|
||||
" Basically branch 535 already does it, but since it relies on
|
||||
" BufAdd autocommand, I'd like to avoid this if possible.
|
||||
for nr in list
|
||||
if bufloaded(nr)
|
||||
if buflisted(nr)
|
||||
" Do not add to the bufferlist, if either
|
||||
" 1) bufnr is exclude_buffers list
|
||||
" 2) buffername matches one of exclude_paths patterns
|
||||
|
Loading…
x
Reference in New Issue
Block a user