diff --git a/plugin/airline.vim b/plugin/airline.vim index 0817a6b..21322bc 100644 --- a/plugin/airline.vim +++ b/plugin/airline.vim @@ -95,6 +95,8 @@ function! s:airline_toggle() autocmd CmdwinLeave * call airline#remove_statusline_func('airline#cmdwinenter') autocmd GUIEnter,ColorScheme * call on_colorscheme_changed() + " Refresh airline for :syntax off + autocmd SourcePre *nosyntax.vim call airline_refresh() autocmd VimEnter,WinEnter,BufWinEnter,FileType,BufUnload * \ call on_window_changed() if exists('#CompleteDone')