summaryrefslogtreecommitdiff
path: root/ale_linters/objcpp/clangd.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/objcpp/clangd.vim')
-rw-r--r--ale_linters/objcpp/clangd.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/ale_linters/objcpp/clangd.vim b/ale_linters/objcpp/clangd.vim
index a09753be..3991d2ac 100644
--- a/ale_linters/objcpp/clangd.vim
+++ b/ale_linters/objcpp/clangd.vim
@@ -17,7 +17,7 @@ endfunction
call ale#linter#Define('objcpp', {
\ 'name': 'clangd',
\ 'lsp': 'stdio',
-\ 'executable_callback': ale#VarFunc('objcpp_clangd_executable'),
-\ 'command_callback': 'ale_linters#objcpp#clangd#GetCommand',
-\ 'project_root_callback': 'ale_linters#objcpp#clangd#GetProjectRoot',
+\ 'executable': {b -> ale#Var(b, 'objcpp_clangd_executable')},
+\ 'command': function('ale_linters#objcpp#clangd#GetCommand'),
+\ 'project_root': function('ale_linters#objcpp#clangd#GetProjectRoot'),
\})