Update xvlog.vim

This commit is contained in:
zht-coder 2024-06-17 23:40:15 +08:00 committed by GitHub
parent 32dbddbd56
commit a6d53d7a9f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,6 +7,7 @@ if &filetype == 'systemverilog'
call ale#Set('verilog_xvlog_options', '-sv') call ale#Set('verilog_xvlog_options', '-sv')
else else
call ale#Set('verilog_xvlog_options', '') call ale#Set('verilog_xvlog_options', '')
endif
function! ale_linters#verilog#xvlog#GetCommand(buffer) abort function! ale_linters#verilog#xvlog#GetCommand(buffer) abort
return '%e ' . ale#Pad(ale#Var(a:buffer, 'verilog_xvlog_options')) . ' %t' return '%e ' . ale#Pad(ale#Var(a:buffer, 'verilog_xvlog_options')) . ' %t'