Sweep tabline of unlisted buffers on each BufLeave
This commit is contained in:
parent
cdc6d98a09
commit
a58b3cba55
@ -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
Block a user