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
No known key found for this signature in database
GPG Key ID: A9F34173C563B7A5
1 changed files with 1 additions and 1 deletions

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.