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