mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-31 08:34:30 +08:00
Use $VIRTUAL_ENV environment variable when present.
This commit is contained in:
@@ -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 New Issue
Block a user