aboutsummaryrefslogtreecommitdiff
path: root/.vim/autoload/neomake/makers/ft/ansible.vim
blob: a1a001f8ccb9610bf89220e8a6eb5087c6ff4c52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
" vim: ts=4 sw=4 et

function! neomake#makers#ft#ansible#EnabledMakers() abort
    return ['ansiblelint', 'yamllint']
endfunction

function! neomake#makers#ft#ansible#yamllint() abort
    return neomake#makers#ft#yaml#yamllint()
endfunction

function! neomake#makers#ft#ansible#ansiblelint() abort
    return {
        \ 'exe': 'ansible-lint',
        \ 'args': ['-p', '--nocolor'],
        \ 'errorformat': '%f:%l: [%tANSIBLE%n] %m',
        \ }
endfunction