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

@@ -228,6 +228,10 @@ command! -bar ALELint :call ale#Queue(0, 'lint_file')
" Stop current jobs when linting.
command! -bar ALELintStop :call ale#engine#Stop(bufnr(''))
" Commands to manually populate the quickfixes.
command! -bar ALEPopulateQuickfix :call ale#list#ForcePopulateErrorList(1)
command! -bar ALEPopulateLocList :call ale#list#ForcePopulateErrorList(0)
" Define a command to get information about current filetype.
command! -bar ALEInfo :call ale#debugging#Info()
" The same, but copy output to your clipboard.