From 66d4c8c89328f389c58d87fe2379c946f0e7c14d Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Mon, 23 Sep 2013 21:18:52 +0000 Subject: [PATCH] prevent clobbering startup info message. resolves #156. --- autoload/airline.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autoload/airline.vim b/autoload/airline.vim index f1914761..501e537e 100644 --- a/autoload/airline.vim +++ b/autoload/airline.vim @@ -43,6 +43,9 @@ function! airline#switch_theme(name) 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... + call airline#check_mode(winnr()) endfunction function! airline#switch_matching_theme()