summaryrefslogtreecommitdiff
path: root/ale_linters/cpp/clangcheck.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/cpp/clangcheck.vim')
-rw-r--r--ale_linters/cpp/clangcheck.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/cpp/clangcheck.vim b/ale_linters/cpp/clangcheck.vim
index c66d6702..b511a413 100644
--- a/ale_linters/cpp/clangcheck.vim
+++ b/ale_linters/cpp/clangcheck.vim
@@ -27,8 +27,8 @@ endfunction
call ale#linter#Define('cpp', {
\ 'name': 'clangcheck',
\ 'output_stream': 'stderr',
-\ 'executable_callback': ale#VarFunc('cpp_clangcheck_executable'),
-\ 'command_callback': 'ale_linters#cpp#clangcheck#GetCommand',
+\ 'executable': {b -> ale#Var(b, 'cpp_clangcheck_executable')},
+\ 'command': function('ale_linters#cpp#clangcheck#GetCommand'),
\ 'callback': 'ale#handlers#gcc#HandleGCCFormat',
\ 'lint_file': 1,
\})