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