From a58b3cba555a0d72dba99025c827aed63b8bd7c6 Mon Sep 17 00:00:00 2001 From: poppyschmo Date: Fri, 25 Sep 2015 14:11:07 -0700 Subject: [PATCH] Sweep tabline of unlisted buffers on each BufLeave --- autoload/airline/extensions/tabline/autoshow.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/airline/extensions/tabline/autoshow.vim b/autoload/airline/extensions/tabline/autoshow.vim index 1bd7899..e4cb64b 100644 --- a/autoload/airline/extensions/tabline/autoshow.vim +++ b/autoload/airline/extensions/tabline/autoshow.vim @@ -34,7 +34,7 @@ function! airline#extensions#tabline#autoshow#on() " Invalidate cache. This has to come after the BufUnload for " 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 endfunction