Use $VIRTUAL_ENV environment variable when present.

This commit is contained in:
Bailey Stoner
2017-10-10 13:49:47 -07:00
parent 70177480ba
commit 3859ac0c9b

View File

@@ -71,7 +71,7 @@ function! ale#python#FindVirtualenv(buffer) abort
endfor
endfor
return ''
return $VIRTUAL_ENV
endfunction
" Run an executable check for Python scripts.