mirror of
https://github.com/dense-analysis/ale.git
synced 2026-02-08 10:51:06 +08:00
Use a new window for the ALEFixSuggest command, and document it better
This commit is contained in:
14
doc/ale.txt
14
doc/ale.txt
@@ -131,7 +131,9 @@ ALE supports the following key features for linting:
|
||||
7. Setting syntax highlights for errors.
|
||||
|
||||
ALE can fix problems with files with the |ALEFix| command, using the same job
|
||||
control functionality used for checking for problems.
|
||||
control functionality used for checking for problems. Try using the
|
||||
|ALEFixSuggest| command for browsing tools that can be used to fix problems
|
||||
for the current buffer.
|
||||
|
||||
===============================================================================
|
||||
2. Supported Languages & Tools *ale-support*
|
||||
@@ -915,6 +917,9 @@ 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.
|
||||
|
||||
The |ALEFixSuggest| command can be used to suggest tools that be used to
|
||||
fix problems for the current buffer.
|
||||
|
||||
The values for `g:ale_fixers` can be a list of |String|, |Funcref|, or
|
||||
|lambda| values. String values must either name a function, or a short name
|
||||
for a function set in the ALE fixer registry.
|
||||
@@ -1019,6 +1024,13 @@ ALEFix *ALEFix*
|
||||
A plug mapping `<Plug>(ale_fix)` is defined for this command.
|
||||
|
||||
|
||||
ALEFixSuggest *ALEFixSuggest*
|
||||
|
||||
Suggest tools that can be used to fix problems in the current buffer.
|
||||
|
||||
See |ale-fix| for more information.
|
||||
|
||||
|
||||
ALELint *ALELint*
|
||||
|
||||
Run ALE once for the current buffer. This command can be used to run ALE
|
||||
|
||||
Reference in New Issue
Block a user