fix airline theme not getting loaded on startup (#151).

This commit is contained in:
Bailey Ling 2013-08-18 19:02:14 +00:00
parent 9d65486063
commit 8f0401580b

View File

@ -78,7 +78,7 @@ function! s:init()
let s:airline_theme_defined = exists('g:airline_theme')
let g:airline_theme = get(g:, 'airline_theme', 'dark')
call <sid>on_colorscheme_changed()
call airline#switch_theme(g:airline_theme)
endif
endfunction