fix solarized theme being out of sync (#288).

This commit is contained in:
Bailey Ling
2013-09-27 21:36:44 -04:00
parent 9d3c6506da
commit 2f3b33daae
5 changed files with 39 additions and 41 deletions

View File

@@ -1,6 +1,6 @@
let g:airline#themes#solarized#palette = {}
function! s:generate()
function! airline#themes#solarized#refresh()
""""""""""""""""""""""""""""""""""""""""""""""""
" Options
""""""""""""""""""""""""""""""""""""""""""""""""
@@ -169,8 +169,5 @@ function! s:generate()
\ s:N2[0].g, s:N2[1].g, s:N2[0].t, s:N2[1].t, s:N2[2]]
endfunction
call s:generate()
augroup airline_solarized
autocmd!
autocmd ColorScheme * call <sid>generate() | call airline#load_theme()
augroup END
call airline#themes#solarized#refresh()