Merge pull request #856 from poppyschmo/bufsweep

Sweep tabline of unlisted buffers on BufLeave
This commit is contained in:
Bailey Ling 2015-10-05 08:30:53 -04:00
commit 2659eafa3a
1 changed files with 1 additions and 1 deletions

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