summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorDavid Briscoe <idbrii@gmail.com>2022-02-04 09:42:26 -0800
committerGitHub <noreply@github.com>2022-02-04 17:42:26 +0000
commit5856c067755d5ff9e14c306d93d1a3605ee966fc (patch)
tree271ec74708e0729fb3b78501e43d0bb75211d00c /plugin
parent6d20b6c1628bff0a0eeacd0bf02c0dd1463c3acb (diff)
downloadale-5856c067755d5ff9e14c306d93d1a3605ee966fc.zip
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.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/ale.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index 423a743a..2b3886aa 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -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.