From d3cf02ecda8a5abe51cf74d17ff3e0414194f937 Mon Sep 17 00:00:00 2001 From: Daniel Parker Date: Mon, 18 Dec 2017 09:33:11 +0000 Subject: [PATCH 1/2] Add support for Vritual Env folder called venv --- autoload/ale/python.vim | 1 + 1 file changed, 1 insertion(+) 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 From 938c150880fa1e9b71e90145fc158152ba11ac8e Mon Sep 17 00:00:00 2001 From: Daniel Parker Date: Mon, 18 Dec 2017 09:44:02 +0000 Subject: [PATCH 2/2] Update docs --- doc/ale.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.