blob: 1fbaea21c564927006afe3cb136245d7a1ce0b74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
Before:
Save g:ale_verilog_iverilog_options
let g:ale_verilog_iverilog_options = ''
After:
Restore
call ale#linter#Reset()
Execute(Set Verilog iverilog linter additional options to `-y.`):
runtime! ale_linters/verilog/iverilog.vim
" Additional args for the linter
let g:ale_verilog_iverilog_options = '-y.'
call ale#Lint()
let g:cmd = ale_linters#verilog#iverilog#GetCommand(bufnr(''))
AssertEqual g:cmd, 'iverilog -t null -Wall -y. %t'
|