Sweep tabline of unlisted buffers on each BufLeave

This commit is contained in:
poppyschmo 2015-09-25 14:11:07 -07:00
parent cdc6d98a09
commit a58b3cba55

View File

@ -34,7 +34,7 @@ function! airline#extensions#tabline#autoshow#on()
" Invalidate cache. This has to come after the BufUnload for " Invalidate cache. This has to come after the BufUnload for
" s:show_buffers, to invalidate the cache for BufEnter. " s:show_buffers, to invalidate the cache for BufEnter.
autocmd BufAdd,BufUnload * call airline#extensions#tabline#buflist#invalidate() autocmd BufLeave,BufAdd,BufUnload * call airline#extensions#tabline#buflist#invalidate()
augroup END augroup END
endfunction endfunction