aboutsummaryrefslogtreecommitdiff
path: root/.vim/autoload/neomake/makers/ft/yaml.vim
blob: 338ca8cf3d17e14e3cbcf421a4d7aeea77be320b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
" vim: ts=4 sw=4 et

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

function! neomake#makers#ft#yaml#yamllint() abort
    return {
        \ 'args': ['-f', 'parsable'],
        \ 'errorformat': '%E%f:%l:%c: [error] %m,%W%f:%l:%c: [warning] %m',
        \ }
endfunction