From a7eb735f2edfc2132b7f75c45f81e52307de0d58 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Fri, 26 Feb 2016 09:20:01 +0100 Subject: [PATCH] Fix typo fixes #1067 --- autoload/airline.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/airline.vim b/autoload/airline.vim index 21ee84de..026722a7 100644 --- a/autoload/airline.vim +++ b/autoload/airline.vim @@ -71,7 +71,7 @@ endfunction function! airline#switch_matching_theme() if exists('g:colors_name') - let existing = substitute(g:airline_theme, '-', '_', 'g') + let existing = substitute(g:colors_name, '-', '_', 'g') try let palette = g:airline#themes#{g:colors_name}#palette call airline#switch_theme(g:colors_name)