Add ALEPopulateQuickfix and ALEPopulateLocList (#3761)

Closes #1810

Add ALEPopulateQuickfix and ALEPopulateLocList. They're not very useful
with ale's default auto-populate behaviour, so their useful configuration
is described in help.
This commit is contained in:
David Briscoe
2022-02-04 09:42:26 -08:00
committed by GitHub
parent 6d20b6c162
commit 5856c06775
4 changed files with 132 additions and 1 deletions

View File

@@ -2015,7 +2015,7 @@ g:ale_set_quickfix *g:ale_set_quickfix*
This feature should not be used in combination with tools for searching for
matches and commands like |:cfdo|, as ALE will replace the quickfix list
pretty frequently. If you wish to use such tools, you should populate the
loclist instead.
loclist or use |ALEPopulateQuickfix| instead.
g:ale_set_signs *g:ale_set_signs*
@@ -3477,6 +3477,20 @@ ALELintStop *ALELintStop*
Any problems from previous linter results will continue to be shown.
ALEPopulateQuickfix *ALEPopulateQuickfix*
ALEPopulateLocList *ALEPopulateLocList*
Manually populate the |quickfix| or |location-list| and show the
corresponding list. Useful when you have other uses for both the |quickfix|
and |location-list| and don't want them automatically populated. Be sure to
disable auto populating: >
let g:ale_set_quickfix = 0
let g:ale_set_loclist = 0
<
With these settings, ALE will still run checking and display it with signs,
highlighting, and other output described in |ale-lint-file-linters|.
ALEPrevious *ALEPrevious*
ALEPreviousWrap *ALEPreviousWrap*
ALENext *ALENext*