mirror of
https://github.com/amix/vimrc
synced 2025-06-16 09:35:01 +08:00
Updated plugins
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',
|
||||
\})
|
||||
|
@ -10,7 +10,7 @@ function! ale_linters#verilog#verilator#GetCommand(buffer) abort
|
||||
let l:filename = ale#util#Tempname() . '_verilator_linted.v'
|
||||
|
||||
" Create a special filename, so we can detect it in the handler.
|
||||
call ale#engine#ManageFile(a:buffer, l:filename)
|
||||
call ale#command#ManageFile(a:buffer, l:filename)
|
||||
let l:lines = getbufline(a:buffer, 1, '$')
|
||||
call ale#util#Writefile(a:buffer, l:lines, l:filename)
|
||||
|
||||
@ -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,
|
||||
\})
|
||||
|
Reference in New Issue
Block a user