summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorAndrej Radovic <r.andrej@gmail.com>2018-07-14 13:24:46 +0200
committerAndrej Radovic <r.andrej@gmail.com>2018-07-14 13:24:46 +0200
commit870e75eb64c8d5cd19dc381464345003cfa33ccf (patch)
tree773e56778777cea1d4378da0e37a0ffeb3b7a005 /autoload
parent5155a35a80fe3b20659eb0f28cc6cc720532dd3f (diff)
downloadale-870e75eb64c8d5cd19dc381464345003cfa33ccf.zip
Added the default local virtualenv name for Pipenv.
Pipenv doesn't do local virtualenvs by default, it uses a special local directory to store them all. However, if you run Pipenv with the PIPENV_VENV_IN_PROJECT environment variable set to 1, it creates the virtual environment in the root of the project, under the name ".venv". This is why I've added this as a possible virtualenv dir name.
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/python.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload/ale/python.vim b/autoload/ale/python.vim
index cdc71cdd..7dc4a54c 100644
--- a/autoload/ale/python.vim
+++ b/autoload/ale/python.vim
@@ -6,6 +6,7 @@ let s:sep = has('win32') ? '\' : '/'
let s:bin_dir = has('unix') ? 'bin' : 'Scripts'
let g:ale_virtualenv_dir_names = get(g:, 'ale_virtualenv_dir_names', [
\ '.env',
+\ '.venv',
\ 'env',
\ 've-py3',
\ 've',