fix color switching again. vimrc setting should override.
This commit is contained in:
parent
dd5dbdd242
commit
54d3605497
@ -76,10 +76,10 @@ function! s:init()
|
|||||||
call airline#extensions#load()
|
call airline#extensions#load()
|
||||||
|
|
||||||
let s:airline_theme_defined = exists('g:airline_theme')
|
let s:airline_theme_defined = exists('g:airline_theme')
|
||||||
if !airline#switch_matching_theme()
|
if !s:airline_theme_defined && !airline#switch_matching_theme()
|
||||||
let g:airline_theme = get(g:, 'airline_theme', 'dark')
|
let g:airline_theme = get(g:, 'airline_theme', 'dark')
|
||||||
call airline#switch_theme(g:airline_theme)
|
|
||||||
endif
|
endif
|
||||||
|
call airline#switch_theme(g:airline_theme)
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user