From 883978ece93bd19250d6d7e8b9659b48f23522e2 Mon Sep 17 00:00:00 2001 From: w0rp Date: Fri, 22 Feb 2019 18:05:04 +0000 Subject: #2132 - Replace all uses of foo_callback with foo --- ale_linters/verilog/iverilog.vim | 2 +- ale_linters/verilog/verilator.vim | 2 +- ale_linters/verilog/vlog.vim | 4 ++-- ale_linters/verilog/xvlog.vim | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'ale_linters/verilog') diff --git a/ale_linters/verilog/iverilog.vim b/ale_linters/verilog/iverilog.vim index c64a3be6..e081f33f 100644 --- a/ale_linters/verilog/iverilog.vim +++ b/ale_linters/verilog/iverilog.vim @@ -38,6 +38,6 @@ call ale#linter#Define('verilog', { \ 'name': 'iverilog', \ 'output_stream': 'stderr', \ 'executable': 'iverilog', -\ 'command_callback': 'ale_linters#verilog#iverilog#GetCommand', +\ 'command': function('ale_linters#verilog#iverilog#GetCommand'), \ 'callback': 'ale_linters#verilog#iverilog#Handle', \}) diff --git a/ale_linters/verilog/verilator.vim b/ale_linters/verilog/verilator.vim index 18d99043..64bb6e41 100644 --- a/ale_linters/verilog/verilator.vim +++ b/ale_linters/verilog/verilator.vim @@ -53,7 +53,7 @@ call ale#linter#Define('verilog', { \ 'name': 'verilator', \ 'output_stream': 'stderr', \ 'executable': 'verilator', -\ 'command_callback': 'ale_linters#verilog#verilator#GetCommand', +\ 'command': function('ale_linters#verilog#verilator#GetCommand'), \ 'callback': 'ale_linters#verilog#verilator#Handle', \ 'read_buffer': 0, \}) diff --git a/ale_linters/verilog/vlog.vim b/ale_linters/verilog/vlog.vim index c7686291..37d21c4c 100644 --- a/ale_linters/verilog/vlog.vim +++ b/ale_linters/verilog/vlog.vim @@ -30,7 +30,7 @@ endfunction call ale#linter#Define('verilog', { \ 'name': 'vlog', \ 'output_stream': 'stdout', -\ 'executable_callback': ale#VarFunc('verilog_vlog_executable'), -\ 'command_callback': 'ale_linters#verilog#vlog#GetCommand', +\ 'executable': {b -> ale#Var(b, 'verilog_vlog_executable')}, +\ 'command': function('ale_linters#verilog#vlog#GetCommand'), \ 'callback': 'ale_linters#verilog#vlog#Handle', \}) diff --git a/ale_linters/verilog/xvlog.vim b/ale_linters/verilog/xvlog.vim index 52498f8f..98b5aae7 100644 --- a/ale_linters/verilog/xvlog.vim +++ b/ale_linters/verilog/xvlog.vim @@ -29,7 +29,7 @@ endfunction call ale#linter#Define('verilog', { \ 'name': 'xvlog', \ 'output_stream': 'stdout', -\ 'executable_callback': ale#VarFunc('verilog_xvlog_executable'), -\ 'command_callback': 'ale_linters#verilog#xvlog#GetCommand', +\ 'executable': {b -> ale#Var(b, 'verilog_xvlog_executable')}, +\ 'command': function('ale_linters#verilog#xvlog#GetCommand'), \ 'callback': 'ale_linters#verilog#xvlog#Handle', \}) -- cgit v1.2.3