plugin: load vim-airline as optional package

allow to load vim-airline as opt package

Fixes: 2122
This commit is contained in:
Christian Brabandt 2020-05-04 07:48:13 +02:00
parent 96d37d2fbe
commit 0ac474fdc4
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
1 changed files with 3 additions and 0 deletions

View File

@ -301,6 +301,9 @@ command! AirlineExtensions call s:airline_extensions()
call airline#init#bootstrap() call airline#init#bootstrap()
call s:airline_toggle() call s:airline_toggle()
if v:vim_did_enter
call <sid>on_window_changed('VimEnter')
endif
let &cpo = s:save_cpo let &cpo = s:save_cpo
unlet s:save_cpo unlet s:save_cpo