From 817b6bbd2d3aff48535e0904f0726f82fc89744f Mon Sep 17 00:00:00 2001 From: w0rp Date: Wed, 7 Jun 2017 21:45:48 +0100 Subject: [PATCH] Put ve-py3 before ve, so Python 3 executables will be preferred --- autoload/ale/python.vim | 2 +- doc/ale-python.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/ale/python.vim b/autoload/ale/python.vim index 067b08b..d901968 100644 --- a/autoload/ale/python.vim +++ b/autoload/ale/python.vim @@ -4,8 +4,8 @@ let g:ale_virtualenv_dir_names = get(g:, 'ale_virtualenv_dir_names', [ \ '.env', \ 'env', -\ 've', \ 've-py3', +\ 've', \ 'virtualenv', \]) diff --git a/doc/ale-python.txt b/doc/ale-python.txt index 0a8b708..26e1d71 100644 --- a/doc/ale-python.txt +++ b/doc/ale-python.txt @@ -9,7 +9,7 @@ g:ale_virtualenv_dir_names *g:ale_virtualenv_dir_names* *b:ale_virtualenv_dir_names* Type: |List| - Default: `['.env', 'env', 've', 've-py3', 'virtualenv']` + Default: `['.env', 'env', 've-py3', 've', 'virtualenv']` A list of directory names to be used when searching upwards from Python files to discover virtulenv directories with. For directory named `'foo'`,