diff --git a/plugin/airline.vim b/plugin/airline.vim index d183357..de28d64 100644 --- a/plugin/airline.vim +++ b/plugin/airline.vim @@ -21,7 +21,7 @@ function! s:init() let g:airline_theme = 'dark' let s:airline_theme_defined = 1 endif - if !airline#switch_matching_theme() + if s:airline_theme_defined || !airline#switch_matching_theme() try let palette = g:airline#themes#{g:airline_theme}#palette catch