mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-02-21 00:58:26 +08:00
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user