diff --git a/plugin/airline.vim b/plugin/airline.vim index 96348f8d..5ffcfc89 100644 --- a/plugin/airline.vim +++ b/plugin/airline.vim @@ -301,7 +301,7 @@ command! AirlineExtensions call s:airline_extensions() call airline#init#bootstrap() call s:airline_toggle() -if v:vim_did_enter +if exists("v:vim_did_enter") && v:vim_did_enter call on_window_changed('VimEnter') endif