fix virtualenv_loaded check.

This commit is contained in:
Bailey Ling 2013-08-25 17:54:00 +00:00
parent 3fba032439
commit 609b4ab573

View File

@ -181,7 +181,7 @@ function! airline#extensions#load()
call airline#extensions#bufferline#init(s:ext)
endif
if (get(g:, 'virtualenv_loaded', 1) && get(g:, 'airline#extensions#virtualenv#enabled', 1))
if get(g:, 'virtualenv_loaded', 0) && get(g:, 'airline#extensions#virtualenv#enabled', 1)
call airline#extensions#virtualenv#init(s:ext)
endif