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

Commit

Permalink
Checker ansible/ansible_lint: fix errorformat
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
netzvieh committed Nov 6, 2018
1 parent c04603e commit b45a86d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions syntax_checkers/ansible/ansible_lint.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit b45a86d

Please sign in to comment.