From 609b4ab5732745f26f76d91ef0aca569d3a3ffd6 Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Sun, 25 Aug 2013 17:54:00 +0000 Subject: [PATCH] fix virtualenv_loaded check. --- autoload/airline/extensions.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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