summaryrefslogtreecommitdiff
path: root/ale_linters/c/clangtidy.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/c/clangtidy.vim')
-rw-r--r--ale_linters/c/clangtidy.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/c/clangtidy.vim b/ale_linters/c/clangtidy.vim
index 4f334655..6484f8af 100644
--- a/ale_linters/c/clangtidy.vim
+++ b/ale_linters/c/clangtidy.vim
@@ -35,8 +35,8 @@ endfunction
call ale#linter#Define('c', {
\ 'name': 'clangtidy',
\ 'output_stream': 'stdout',
-\ 'executable_callback': ale#VarFunc('c_clangtidy_executable'),
-\ 'command_callback': 'ale_linters#c#clangtidy#GetCommand',
+\ 'executable': {b -> ale#Var(b, 'c_clangtidy_executable')},
+\ 'command': function('ale_linters#c#clangtidy#GetCommand'),
\ 'callback': 'ale#handlers#gcc#HandleGCCFormat',
\ 'lint_file': 1,
\})