1
0
Fork 0
mirror of synced 2024-11-09 18:58:58 -05:00
ultimate-vim/sources_non_forked/ale/ale_linters/openapi/yamllint.vim

10 lines
334 B
VimL
Raw Normal View History

2021-05-05 04:25:00 -04:00
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',
\})