From 996732d5a688c8f0e56e0f5bfb17bdd11c819bbb Mon Sep 17 00:00:00 2001 From: w0rp Date: Sat, 8 Jul 2017 14:30:12 +0100 Subject: [PATCH] Document the virtualenv directories variable in the main file instead --- doc/ale-python.txt | 15 --------------- doc/ale.txt | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/doc/ale-python.txt b/doc/ale-python.txt index 0850f39..dabc573 100644 --- a/doc/ale-python.txt +++ b/doc/ale-python.txt @@ -2,21 +2,6 @@ ALE Python Integration *ale-python-options* -=============================================================================== -Global Options - -g:ale_virtualenv_dir_names *g:ale_virtualenv_dir_names* - *b:ale_virtualenv_dir_names* - - Type: |List| - 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'`, - ALE will search for `'foo/bin/activate'` in all directories on and above - the directory containing the Python file to find virtualenv paths. - - =============================================================================== autopep8 *ale-python-autopep8* diff --git a/doc/ale.txt b/doc/ale.txt index c5e2f8f..f1419d1 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -808,6 +808,20 @@ g:ale_type_map *g:ale_type_map* Type maps can be set per-buffer with `b:ale_type_map`. +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']` + + A list of directory names to be used when searching upwards from Python + files to discover virtulenv directories with. + + For directory named `'foo'`, ALE will search for `'foo/bin/activate'` + (`foo\Scripts\activate\` on Windows) in all directories on and above the + directory containing the Python file to find virtualenv paths. + + g:ale_warn_about_trailing_whitespace *g:ale_warn_about_trailing_whitespace* b:ale_warn_about_trailing_whitespace *b:ale_warn_about_trailing_whitespace*