diff options
author | w0rp <w0rp@users.noreply.github.com> | 2017-12-18 09:54:32 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-18 09:54:32 +0000 |
commit | 30c5bb37726df76a790b9bb25280cf0c9f885bc6 (patch) | |
tree | 7487895bc947da1e0b038c53b83e6969cbbecd32 | |
parent | 65a99c16153fdc15184f836b9fb66d4a7b29064b (diff) | |
parent | 938c150880fa1e9b71e90145fc158152ba11ac8e (diff) | |
download | ale-30c5bb37726df76a790b9bb25280cf0c9f885bc6.zip |
Merge pull request #1237 from danpker/add-python-venv-folder
Add python venv folder
-rw-r--r-- | autoload/ale/python.vim | 1 | ||||
-rw-r--r-- | doc/ale.txt | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/autoload/ale/python.vim b/autoload/ale/python.vim index 117b0efe..82dd9d7c 100644 --- a/autoload/ale/python.vim +++ b/autoload/ale/python.vim @@ -10,6 +10,7 @@ let g:ale_virtualenv_dir_names = get(g:, 'ale_virtualenv_dir_names', [ \ 've-py3', \ 've', \ 'virtualenv', +\ 'venv', \]) function! ale#python#FindProjectRootIni(buffer) abort diff --git a/doc/ale.txt b/doc/ale.txt index 33f9fdfe..f16858e6 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -1397,7 +1397,7 @@ g:ale_virtualenv_dir_names *g:ale_virtualenv_dir_names* b:ale_virtualenv_dir_names *b:ale_virtualenv_dir_names* Type: |List| - Default: `['.env', 'env', 've-py3', 've', 'virtualenv']` + Default: `['.env', 'env', 've-py3', 've', 'virtualenv', 'venv']` A list of directory names to be used when searching upwards from Python files to discover virtulenv directories with. |