summaryrefslogtreecommitdiff
path: root/ale_linters/vhdl/xvhdl.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/vhdl/xvhdl.vim')
-rw-r--r--ale_linters/vhdl/xvhdl.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/vhdl/xvhdl.vim b/ale_linters/vhdl/xvhdl.vim
index 6e0d411d..8010ff14 100644
--- a/ale_linters/vhdl/xvhdl.vim
+++ b/ale_linters/vhdl/xvhdl.vim
@@ -31,7 +31,7 @@ endfunction
call ale#linter#Define('vhdl', {
\ 'name': 'xvhdl',
\ 'output_stream': 'stdout',
-\ 'executable_callback': ale#VarFunc('vhdl_xvhdl_executable'),
-\ 'command_callback': 'ale_linters#vhdl#xvhdl#GetCommand',
+\ 'executable': {b -> ale#Var(b, 'vhdl_xvhdl_executable')},
+\ 'command': function('ale_linters#vhdl#xvhdl#GetCommand'),
\ 'callback': 'ale_linters#vhdl#xvhdl#Handle',
\})