Fix issue when an airline theme and an external colorscheme have been defined
This commit is contained in:
parent
c88f04cd1a
commit
905522cd8b
@ -21,7 +21,7 @@ function! s:init()
|
|||||||
let g:airline_theme = 'dark'
|
let g:airline_theme = 'dark'
|
||||||
let s:airline_theme_defined = 1
|
let s:airline_theme_defined = 1
|
||||||
endif
|
endif
|
||||||
if !airline#switch_matching_theme()
|
if s:airline_theme_defined || !airline#switch_matching_theme()
|
||||||
try
|
try
|
||||||
let palette = g:airline#themes#{g:airline_theme}#palette
|
let palette = g:airline#themes#{g:airline_theme}#palette
|
||||||
catch
|
catch
|
||||||
|
Loading…
Reference in New Issue
Block a user