From 3859ac0c9b17edd9776c5e9b42d0c13e4ee7eb42 Mon Sep 17 00:00:00 2001 From: Bailey Stoner Date: Tue, 10 Oct 2017 13:49:47 -0700 Subject: [PATCH] Use $VIRTUAL_ENV environment variable when present. --- autoload/ale/python.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/ale/python.vim b/autoload/ale/python.vim index 4f14697..d788b77 100644 --- a/autoload/ale/python.vim +++ b/autoload/ale/python.vim @@ -71,7 +71,7 @@ function! ale#python#FindVirtualenv(buffer) abort endfor endfor - return '' + return $VIRTUAL_ENV endfunction " Run an executable check for Python scripts.