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