summaryrefslogtreecommitdiff
path: root/ale_linters/cpp/cquery.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/cpp/cquery.vim')
-rw-r--r--ale_linters/cpp/cquery.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/ale_linters/cpp/cquery.vim b/ale_linters/cpp/cquery.vim
index b1c81989..0dd9f6ad 100644
--- a/ale_linters/cpp/cquery.vim
+++ b/ale_linters/cpp/cquery.vim
@@ -21,8 +21,8 @@ endfunction
call ale#linter#Define('cpp', {
\ 'name': 'cquery',
\ 'lsp': 'stdio',
-\ 'executable_callback': ale#VarFunc('cpp_cquery_executable'),
+\ 'executable': {b -> ale#Var(b, 'cpp_cquery_executable')},
\ 'command': '%e',
-\ 'project_root_callback': 'ale_linters#cpp#cquery#GetProjectRoot',
-\ 'initialization_options_callback': 'ale_linters#cpp#cquery#GetInitializationOptions',
+\ 'project_root': function('ale_linters#cpp#cquery#GetProjectRoot'),
+\ 'initialization_options': function('ale_linters#cpp#cquery#GetInitializationOptions'),
\})