From 36bc297e60ac005fc29f2c1fff110fa4cf5a7c1d Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Fri, 27 Feb 2015 09:09:26 -0500 Subject: [PATCH] fix statusline out of sync right after colorscheme change --- autoload/airline.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/airline.vim b/autoload/airline.vim index 1a4e54a..a2ad27e 100644 --- a/autoload/airline.vim +++ b/autoload/airline.vim @@ -46,6 +46,7 @@ function! airline#load_theme() call airline#highlighter#load_theme() call airline#extensions#load_theme() + call airline#update_statusline() endfunction function! airline#switch_theme(name) @@ -62,7 +63,6 @@ function! airline#switch_theme(name) endtry let w:airline_lastmode = '' - call airline#update_statusline() call airline#load_theme() " this is required to prevent clobbering the startup info message, i don't know why...