diff --git a/plugin/airline.vim b/plugin/airline.vim index 91e8e5f..1635253 100644 --- a/plugin/airline.vim +++ b/plugin/airline.vim @@ -96,7 +96,8 @@ function! s:airline_toggle() autocmd GUIEnter,ColorScheme * call on_colorscheme_changed() " Refresh airline for :syntax off - autocmd SourcePre */syntax/*syntax.vim call airline_refresh() + autocmd SourcePre */syntax/syntax.vim + \ call airline#extensions#tabline#buffers#invalidate() autocmd VimEnter,WinEnter,BufWinEnter,FileType,BufUnload * \ call on_window_changed() if exists('#CompleteDone')