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