Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit b45a86d

Browse files
committed
Checker 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.
1 parent c04603e commit b45a86d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

syntax_checkers/ansible/ansible_lint.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ function! SyntaxCheckers_ansible_ansible_lint_GetLocList() dict
2929
let makeprg = self.makeprgBuild({ 'args_after': '-p' })
3030

3131
let errorformat =
32+
\ '%f:%l: [E%n] %m,' .
3233
\ '%f:%l: [EANSIBLE%n] %m,' .
3334
\ '%f:%l: [ANSIBLE%n] %m'
3435

0 commit comments

Comments
 (0)