summaryrefslogtreecommitdiff
path: root/ale_linters/vue
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/vue')
-rw-r--r--ale_linters/vue/vls.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/ale_linters/vue/vls.vim b/ale_linters/vue/vls.vim
index 7116128b..ac451f3c 100644
--- a/ale_linters/vue/vls.vim
+++ b/ale_linters/vue/vls.vim
@@ -13,10 +13,10 @@ endfunction
call ale#linter#Define('vue', {
\ 'name': 'vls',
\ 'lsp': 'stdio',
-\ 'executable_callback': ale#node#FindExecutableFunc('vue_vls', [
+\ 'executable': {b -> ale#node#FindExecutable(b, 'vue_vls', [
\ 'node_modules/.bin/vls',
-\ ]),
+\ ])},
\ 'command': '%e --stdio',
\ 'language': 'vue',
-\ 'project_root_callback': 'ale_linters#vue#vls#GetProjectRoot',
+\ 'project_root': function('ale_linters#vue#vls#GetProjectRoot'),
\})