From ec18e6639d1b180ca76acc123593b85e8c269504 Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Wed, 25 Feb 2015 19:31:50 -0500 Subject: [PATCH] initialize before VimEnter, resolves #717 and #718. a lot of users are still using VimEnter instead of the new AirlineAfterInit, this changes allows those configs to continue working. --- plugin/airline.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugin/airline.vim b/plugin/airline.vim index 98400529..6e1dbd9a 100644 --- a/plugin/airline.vim +++ b/plugin/airline.vim @@ -99,5 +99,4 @@ command! AirlineToggle call airline_toggle() command! AirlineRefresh call airline#load_theme() | call airline#update_statusline() autocmd VimEnter * call airline#deprecation#check() -autocmd VimEnter * call s:init() - +call s:init()