mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Updated plugins
This commit is contained in:
@ -6,7 +6,7 @@ call ale#Set('yaml_spectral_use_global', get(g:, 'ale_use_global_executables', 0
|
||||
|
||||
call ale#linter#Define('yaml', {
|
||||
\ 'name': 'spectral',
|
||||
\ 'executable': {b -> ale#node#FindExecutable(b, 'yaml_spectral', [
|
||||
\ 'executable': {b -> ale#path#FindExecutable(b, 'yaml_spectral', [
|
||||
\ 'node_modules/.bin/spectral',
|
||||
\ ])},
|
||||
\ 'command': '%e lint --ignore-unknown-format -q -f text %t',
|
||||
|
@ -32,7 +32,7 @@ endfunction
|
||||
|
||||
call ale#linter#Define('yaml', {
|
||||
\ 'name': 'swaglint',
|
||||
\ 'executable': {b -> ale#node#FindExecutable(b, 'yaml_swaglint', [
|
||||
\ 'executable': {b -> ale#path#FindExecutable(b, 'yaml_swaglint', [
|
||||
\ 'node_modules/.bin/swaglint',
|
||||
\ ])},
|
||||
\ 'command': '%e -r compact --stdin',
|
||||
|
Reference in New Issue
Block a user