mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
#2132 - Replace all uses of foo_callback with foo
This commit is contained in:
@@ -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',
|
||||
\})
|
||||
|
||||
@@ -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,
|
||||
\})
|
||||
|
||||
@@ -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',
|
||||
\})
|
||||
|
||||
@@ -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',
|
||||
\})
|
||||
|
||||
Reference in New Issue
Block a user