Merge pull request #856 from poppyschmo/bufsweep
Sweep tabline of unlisted buffers on BufLeave
This commit is contained in:
commit
2659eafa3a
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue