diff --git a/plugin/airline.vim b/plugin/airline.vim index 6e1dbd9..6b140e2 100644 --- a/plugin/airline.vim +++ b/plugin/airline.vim @@ -8,7 +8,6 @@ let g:loaded_airline = 1 let s:airline_theme_defined = 0 function! s:init() - call airline#init#bootstrap() call airline#extensions#load() call airline#init#sections() @@ -98,5 +97,7 @@ command! AirlineToggleWhitespace call airline#extensions#whitespace#toggle() command! AirlineToggle call airline_toggle() command! AirlineRefresh call airline#load_theme() | call airline#update_statusline() +call airline#init#bootstrap() + autocmd VimEnter * call airline#deprecation#check() -call s:init() +autocmd VimEnter * call s:init()