parent
6c43fdea96
commit
a7eb735f2e
|
@ -71,7 +71,7 @@ endfunction
|
||||||
|
|
||||||
function! airline#switch_matching_theme()
|
function! airline#switch_matching_theme()
|
||||||
if exists('g:colors_name')
|
if exists('g:colors_name')
|
||||||
let existing = substitute(g:airline_theme, '-', '_', 'g')
|
let existing = substitute(g:colors_name, '-', '_', 'g')
|
||||||
try
|
try
|
||||||
let palette = g:airline#themes#{g:colors_name}#palette
|
let palette = g:airline#themes#{g:colors_name}#palette
|
||||||
call airline#switch_theme(g:colors_name)
|
call airline#switch_theme(g:colors_name)
|
||||||
|
|
Loading…
Reference in New Issue