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