prevent clobbering startup info message. resolves #156.

This commit is contained in:
Bailey Ling 2013-09-23 21:18:52 +00:00
parent 248c9b0e29
commit 66d4c8c893
1 changed files with 3 additions and 0 deletions

View File

@ -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()