mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-02-23 18:18:29 +08:00
move all theme variables into a single dictionary
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user