add virtualenv extension

This commit is contained in:
joe di castro
2013-08-24 22:49:54 +02:00
parent c98549913c
commit f0df8825df
4 changed files with 29 additions and 2 deletions

View File

@@ -161,6 +161,10 @@ function! airline#extensions#load()
call airline#extensions#bufferline#init(s:ext)
endif
if (get(g:, 'virtualenv_loaded', 1) && get(g:, 'airline_enable_virtualenv', 1))
call airline#extensions#virtualenv#init(s:ext)
endif
if g:airline_section_warning == '__'
if (get(g:, 'airline#extensions#syntastic#enabled', 1) && get(g:, 'airline_enable_syntastic', 1))
\ && exists(':SyntasticCheck')