syntastic git · master
syntastic vim plugin (fork)
Vim Script 99%git clone https://git.christianimmanuel.de/mirrors-forks/syntastic.gitwget https://git.christianimmanuel.de/mirrors-forks/syntastic/archive/syntastic.tar.gzChecker ansible/ansible_lint: fix errorformat
ansible-lint now has a slightly different outputformat for errors: prepare-host.yaml:24: [E302] chmod used in place of argument mode to file module Append the errorformat so this gets recognized by syntastic.
syntax_checkers/ansible/ansible_lint.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/syntax_checkers/ansible/ansible_lint.vim b/syntax_checkers/ansible/ansible_lint.vim index 443434e4..cea147bc 100644 --- a/syntax_checkers/ansible/ansible_lint.vim +++ b/syntax_checkers/ansible/ansible_lint.vim @@ -29,6 +29,7 @@ function! SyntaxCheckers_ansible_ansible_lint_GetLocList() dict let makeprg = self.makeprgBuild({ 'args_after': '-p' }) let errorformat = + \ '%f:%l: [E%n] %m,' . \ '%f:%l: [EANSIBLE%n] %m,' . \ '%f:%l: [ANSIBLE%n] %m'