mirror of https://github.com/dense-analysis/ale
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'
|