ale/ale_linters/yaml/yamllint.vim

12 lines
375 B
VimL
Raw Normal View History

2016-10-03 19:49:02 +00:00
" Author: KabbAmine <amine.kabb@gmail.com>
call ale#Set('yaml_yamllint_executable', 'yamllint')
call ale#Set('yaml_yamllint_options', '')
call ale#linter#Define('yaml', {
2016-10-03 19:49:02 +00:00
\ 'name': 'yamllint',
\ 'executable': {b -> ale#Var(b, 'yaml_yamllint_executable')},
\ 'command': function('ale#handlers#yamllint#GetCommand'),
\ 'callback': 'ale#handlers#yamllint#Handle',
2016-10-03 19:49:02 +00:00
\})