Update xvlog.vim

when using xvlog in Vivado 2019.1 for SystemVerilog, you should add the option '-sv'.
This commit is contained in:
zht-coder 2024-06-17 22:29:52 +08:00 committed by GitHub
parent c7c41e1574
commit 32dbddbd56
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,6 +2,10 @@
" Description: Adds support for Xilinx Vivado `xvlog` Verilog compiler/checker
call ale#Set('verilog_xvlog_executable', 'xvlog')
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