summaryrefslogtreecommitdiff
path: root/ale_linters/yaml/swaglint.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/yaml/swaglint.vim')
-rw-r--r--ale_linters/yaml/swaglint.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/yaml/swaglint.vim b/ale_linters/yaml/swaglint.vim
index 7362536e..1f140e37 100644
--- a/ale_linters/yaml/swaglint.vim
+++ b/ale_linters/yaml/swaglint.vim
@@ -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',
\})