mirror of
https://github.com/dense-analysis/ale.git
synced 2026-02-04 09:02:52 +08:00
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:
16
doc/ale.txt
16
doc/ale.txt
@@ -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*
|
||||
|
||||
Reference in New Issue
Block a user