diff --git a/autoload/airline/extensions.vim b/autoload/airline/extensions.vim index cae766f..16b4f6a 100644 --- a/autoload/airline/extensions.vim +++ b/autoload/airline/extensions.vim @@ -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