mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-27 08:03:16 +08:00
#2132 - Replace all uses of foo_callback with foo
This commit is contained in:
214 files changed
+452
-524
No files matched your search
@@ -32,9 +32,9 @@ endfunction
|
||||
|
||||
call ale#linter#Define('yaml', {
|
||||
\ 'name': 'swaglint',
|
||||
\ 'executable_callback': ale#node#FindExecutableFunc('yaml_swaglint', [
|
||||
\ 'executable': {b -> ale#node#FindExecutable(b, 'yaml_swaglint', [
|
||||
\ 'node_modules/.bin/swaglint',
|
||||
\ ]),
|
||||
\ ])},
|
||||
\ 'command': '%e -r compact --stdin',
|
||||
\ 'callback': 'ale_linters#yaml#swaglint#Handle',
|
||||
\})
|
||||
Reference in new issue
Block a user