mirror of
https://github.com/dense-analysis/ale.git
synced 2026-02-21 09:08:34 +08:00
Add support for verible: language server + fixer (#4994)
* Add support for verible: language server + fixer * verible: add default flag, rules support for verible-ls
This commit is contained in:
committed by
GitHub
parent
29f1ff2579
commit
6d7bc15d9a
16
test/fixers/test_verible_format_fixer_callback.vader
Normal file
16
test/fixers/test_verible_format_fixer_callback.vader
Normal file
@@ -0,0 +1,16 @@
|
||||
Before:
|
||||
call ale#assert#SetUpFixerTest('verilog', 'verible_format')
|
||||
|
||||
After:
|
||||
call ale#assert#TearDownFixerTest()
|
||||
|
||||
Execute(The verible format callback should return the correct default values):
|
||||
AssertFixer {'command': ale#Escape('verible-verilog-format') .' -'}
|
||||
|
||||
Execute(The verible format callback should allow a custom executable):
|
||||
let g:ale_verilog_verible_format_executable = 'foo/bar'
|
||||
AssertFixer {'command': ale#Escape('foo/bar') . ' -'}
|
||||
|
||||
Execute(The verible format callback should allow custom options):
|
||||
let g:ale_verilog_verible_format_options = '--foo --bar'
|
||||
AssertFixer {'command': ale#Escape('verible-verilog-format') .' --foo --bar -'}
|
||||
Reference in New Issue
Block a user