summaryrefslogtreecommitdiff
path: root/ale_linters/yaml/yamllint.vim
blob: 39011df12e6be585bd12855115df8ac4d3620920 (plain)
1
2
3
4
5
6
7
8
9
10
11
" Author: KabbAmine <amine.kabb@gmail.com>

call ale#Set('yaml_yamllint_executable', 'yamllint')
call ale#Set('yaml_yamllint_options', '')

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