Merge pull request #2526 from pfernandez/patch-1

Changed bufloaded back to buflisted
This commit is contained in:
Christian Brabandt 2022-04-12 18:02:51 +02:00 committed by GitHub
commit be5bda1f1d

View File

@ -52,7 +52,7 @@ function! airline#extensions#tabline#buflist#list()
" Basically branch 535 already does it, but since it relies on " Basically branch 535 already does it, but since it relies on
" BufAdd autocommand, I'd like to avoid this if possible. " BufAdd autocommand, I'd like to avoid this if possible.
for nr in list for nr in list
if bufloaded(nr) if buflisted(nr)
" Do not add to the bufferlist, if either " Do not add to the bufferlist, if either
" 1) bufnr is exclude_buffers list " 1) bufnr is exclude_buffers list
" 2) buffername matches one of exclude_paths patterns " 2) buffername matches one of exclude_paths patterns