summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBailey Stoner <bailey@patreon.com>2017-10-10 13:49:47 -0700
committerBailey Stoner <bailey@patreon.com>2017-10-10 14:21:04 -0700
commit3859ac0c9b17edd9776c5e9b42d0c13e4ee7eb42 (patch)
tree28893ba3dc4060e73ac473e0d3bfcbfb6deb38a8
parent70177480ba1f9968409709442fc4be4e9a69d564 (diff)
downloadale-3859ac0c9b17edd9776c5e9b42d0c13e4ee7eb42.zip
Use $VIRTUAL_ENV environment variable when present.
-rw-r--r--autoload/ale/python.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/python.vim b/autoload/ale/python.vim
index 4f14697c..d788b779 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.