summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autoload/ale/python.vim1
-rw-r--r--doc/ale.txt2
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.