diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale-python.txt | 11 | ||||
-rw-r--r-- | doc/ale.txt | 10 |
2 files changed, 17 insertions, 4 deletions
diff --git a/doc/ale-python.txt b/doc/ale-python.txt index 396603e9..e1614262 100644 --- a/doc/ale-python.txt +++ b/doc/ale-python.txt @@ -231,6 +231,17 @@ g:ale_python_pycodestyle_use_global *g:ale_python_pycodestyle_use_global* =============================================================================== pylint *ale-python-pylint* +g:ale_python_pylint_change_directory *g:ale_python_pylint_change_directory* + *b:ale_python_pylint_change_directory* + Type: |Number| + Default: `1` + + If set to `1`, ALE will switch to the directory the Python file being + checked with `pylint` is in before checking it. This helps `pylint` find + configuration files more easily. This option can be turned off if you want + to control the directory Python is executed from yourself. + + g:ale_python_pylint_executable *g:ale_python_pylint_executable* *b:ale_python_pylint_executable* Type: |String| diff --git a/doc/ale.txt b/doc/ale.txt index 3355e707..929fcf55 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -474,10 +474,12 @@ ftplugin files for different filetypes. =============================================================================== 4. Fixing Problems *ale-fix* -ALE can fix problems with files with the |ALEFix| command. When |ALEFix| is -run, the variable |g:ale_fixers| will be read for getting a |List| of commands -for filetypes, split on `.`, and the functions named in |g:ale_fixers| will be -executed for fixing the errors. +ALE can fix problems with files with the |ALEFix| command. |ALEFix| +accepts names of fixers to be applied as arguments. Alternatively, +when no arguments are provided, the variable |g:ale_fixers| will be +read for getting a |List| of commands for filetypes, split on `.`, and +the functions named in |g:ale_fixers| will be executed for fixing the +errors. The |ALEFixSuggest| command can be used to suggest tools that be used to fix problems for the current buffer. |