autogenerate bg colors for the file indicator. resolves #131.

This commit is contained in:
Bailey Ling
2013-08-18 03:25:24 +00:00
parent 45f0d896e9
commit a8692a7b97
7 changed files with 39 additions and 27 deletions

View File

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