mirror of
https://github.com/dense-analysis/ale
synced 2024-12-25 23:52:22 +00:00
15 lines
447 B
Plaintext
15 lines
447 B
Plaintext
Before:
|
|
call ale#assert#SetUpLinterTest('verilog', 'slang')
|
|
|
|
After:
|
|
call ale#assert#TearDownLinterTest()
|
|
|
|
Execute(The default slang command should be correct):
|
|
AssertLinter 'slang', 'slang -Weverything -I%s:h %t'
|
|
|
|
Execute(slang options should be configurable):
|
|
" Additional args for the linter
|
|
let g:ale_verilog_slang_options = '--define-macro DWIDTH=12'
|
|
|
|
AssertLinter 'slang', 'slang -Weverything -I%s:h --define-macro DWIDTH=12 %t'
|