summaryrefslogtreecommitdiff
path: root/ale_linters/openapi/yamllint.vim
blob: 2b8952ccde4ad99c4309d19852e65aa2ae61a482 (plain)
1
2
3
4
5
6
7
8
9
call ale#Set('yaml_yamllint_executable', 'yamllint')
call ale#Set('yaml_yamllint_options', '')

call ale#linter#Define('openapi', {
\   'name': 'yamllint',
\   'executable': {b -> ale#Var(b, 'yaml_yamllint_executable')},
\   'command': function('ale#handlers#yamllint#GetCommand'),
\   'callback': 'ale#handlers#yamllint#Handle',
\})