mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-23 03:46:46 +08:00
prevent clobbering startup info message. resolves #156.
This commit is contained in:
parent
248c9b0e29
commit
66d4c8c893
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user