fixes #1067
This commit is contained in:
Christian Brabandt 2016-02-26 09:20:01 +01:00
parent 6c43fdea96
commit a7eb735f2e
1 changed files with 1 additions and 1 deletions

View File

@ -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)