From 086b924992c459e71885edac5a91135a5f7e111e Mon Sep 17 00:00:00 2001 From: joe di castro Date: Sun, 25 Aug 2013 13:38:15 +0200 Subject: [PATCH] Fix error in virtualenv at extensions.vim Fix the global variable name for enable/disable the extension. --- 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 ed222d00..43e77f57 100644 --- a/autoload/airline/extensions.vim +++ b/autoload/airline/extensions.vim @@ -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