move all theme variables into a single dictionary

This commit is contained in:
Bailey Ling
2013-08-18 00:59:49 +00:00
parent 1584ee79f6
commit 45f0d896e9
17 changed files with 190 additions and 159 deletions

View File

@@ -11,7 +11,8 @@ endfunction
function! airline#switch_theme(name)
let g:airline_theme = a:name
let inactive_colors = g:airline#themes#{g:airline_theme}#inactive "also lazy loads the theme
let palette = g:airline#themes#{g:airline_theme}#palette "also lazy loads the theme
let w:airline_lastmode = ''
call airline#update_statusline()
call airline#load_theme()