I broke up with neovim....vim is my best friend now
This commit is contained in:
11
dot_vim/plugged/ale/ale_linters/yaml/yamllint.vim
Normal file
11
dot_vim/plugged/ale/ale_linters/yaml/yamllint.vim
Normal file
@@ -0,0 +1,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',
|
||||
\})
|
||||
Reference in New Issue
Block a user