Fix error in virtualenv at extensions.vim

Fix the global variable name for enable/disable the extension.
This commit is contained in:
joe di castro 2013-08-25 13:38:15 +02:00
parent f0df8825df
commit 086b924992
1 changed files with 1 additions and 1 deletions

View File

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