diff options
author | Bailey Stoner <bailey@patreon.com> | 2017-10-10 13:49:47 -0700 |
---|---|---|
committer | Bailey Stoner <bailey@patreon.com> | 2017-10-10 14:21:04 -0700 |
commit | 3859ac0c9b17edd9776c5e9b42d0c13e4ee7eb42 (patch) | |
tree | 28893ba3dc4060e73ac473e0d3bfcbfb6deb38a8 | |
parent | 70177480ba1f9968409709442fc4be4e9a69d564 (diff) | |
download | ale-3859ac0c9b17edd9776c5e9b42d0c13e4ee7eb42.zip |
Use $VIRTUAL_ENV environment variable when present.
-rw-r--r-- | autoload/ale/python.vim | 2 |
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. |