Fix brocken CI test

because vim 7.4 does not know v:vim_did_enter

I am beginning to wonder, whether we should have vim8 as a minimal
requirement...
This commit is contained in:
Christian Brabandt 2020-05-04 08:10:33 +02:00
parent 0ac474fdc4
commit 915c7cfcd7
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
1 changed files with 1 additions and 1 deletions

View File

@ -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 <sid>on_window_changed('VimEnter')
endif