mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-02-26 03:27:12 +08:00
autogenerate bg colors for the file indicator. resolves #131.
This commit is contained in:
@@ -12,6 +12,7 @@ endfunction
|
||||
function! airline#switch_theme(name)
|
||||
let g:airline_theme = a:name
|
||||
let palette = g:airline#themes#{g:airline_theme}#palette "also lazy loads the theme
|
||||
call airline#themes#patch(palette)
|
||||
|
||||
let w:airline_lastmode = ''
|
||||
call airline#update_statusline()
|
||||
|
||||
Reference in New Issue
Block a user