Use $VIRTUAL_ENV environment variable when present.
This commit is contained in:
parent
70177480ba
commit
3859ac0c9b
@ -71,7 +71,7 @@ function! ale#python#FindVirtualenv(buffer) abort
|
|||||||
endfor
|
endfor
|
||||||
endfor
|
endfor
|
||||||
|
|
||||||
return ''
|
return $VIRTUAL_ENV
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" Run an executable check for Python scripts.
|
" Run an executable check for Python scripts.
|
||||||
|
Loading…
Reference in New Issue
Block a user