Use $VIRTUAL_ENV environment variable when present.
This commit is contained in:
parent
70177480ba
commit
3859ac0c9b
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ function! ale#python#FindVirtualenv(buffer) abort
|
|||
endfor
|
||||
endfor
|
||||
|
||||
return ''
|
||||
return $VIRTUAL_ENV
|
||||
endfunction
|
||||
|
||||
" Run an executable check for Python scripts.
|
||||
|
|
Reference in a new issue