summaryrefslogtreecommitdiff
path: root/ale_linters/ansible/ansible-lint.vim
blob: af1e28b25861ea4bc1be1aac714e31ca60f1ace3 (plain)
1
2
3
4
5
6
7
8
9
" Author: Bjorn Neergaard <bjorn@neersighted.com>
" Description: ansible-lint for ansible-yaml files

call ale#linter#Define('ansible', {
\   'name': 'ansible',
\   'executable': 'ansible',
\   'command': g:ale#util#stdin_wrapper . ' .yml ansible-lint -p',
\   'callback': 'ale#handlers#HandlePEP8Format',
\})