Merge pull request #1649 from CherryMan/master
tabline: fix tabline on :syn on
This commit is contained in:
commit
85696f28a9
@ -96,7 +96,8 @@ function! s:airline_toggle()
|
|||||||
|
|
||||||
autocmd GUIEnter,ColorScheme * call <sid>on_colorscheme_changed()
|
autocmd GUIEnter,ColorScheme * call <sid>on_colorscheme_changed()
|
||||||
" Refresh airline for :syntax off
|
" Refresh airline for :syntax off
|
||||||
autocmd SourcePre */syntax/*syntax.vim call <sid>airline_refresh()
|
autocmd SourcePre */syntax/syntax.vim
|
||||||
|
\ call airline#extensions#tabline#buffers#invalidate()
|
||||||
autocmd VimEnter,WinEnter,BufWinEnter,FileType,BufUnload *
|
autocmd VimEnter,WinEnter,BufWinEnter,FileType,BufUnload *
|
||||||
\ call <sid>on_window_changed()
|
\ call <sid>on_window_changed()
|
||||||
if exists('#CompleteDone')
|
if exists('#CompleteDone')
|
||||||
|
Loading…
Reference in New Issue
Block a user