mirror of
https://github.com/dense-analysis/ale
synced 2024-12-17 20:05:31 +00:00
014b00d4d7
This commit enables yamllint and prettier on openapi files.
12 lines
375 B
VimL
12 lines
375 B
VimL
" 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',
|
|
\})
|