mirror of
https://github.com/dense-analysis/ale
synced 2025-03-08 22:27:42 +00:00
Update xvlog.vim
when using xvlog in Vivado 2019.1 for SystemVerilog, you should add the option '-sv'.
This commit is contained in:
parent
c7c41e1574
commit
32dbddbd56
@ -2,7 +2,11 @@
|
||||
" Description: Adds support for Xilinx Vivado `xvlog` Verilog compiler/checker
|
||||
|
||||
call ale#Set('verilog_xvlog_executable', 'xvlog')
|
||||
call ale#Set('verilog_xvlog_options', '')
|
||||
|
||||
if &filetype == 'systemverilog'
|
||||
call ale#Set('verilog_xvlog_options', '-sv')
|
||||
else
|
||||
call ale#Set('verilog_xvlog_options', '')
|
||||
|
||||
function! ale_linters#verilog#xvlog#GetCommand(buffer) abort
|
||||
return '%e ' . ale#Pad(ale#Var(a:buffer, 'verilog_xvlog_options')) . ' %t'
|
||||
|
Loading…
Reference in New Issue
Block a user