mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
* Add support for c3-lsp linter Add support for c3-lang with the c3-lsp language server. Link: http://github.com/pherrymason/c3-lsp Link: http://c3-lang.org * fix linter error * fix: consistent use of the executable name Consistently use the executable name 'c3lsp' instead of the project name 'c3-lsp'. * c3lsp: add command line arguments to executable
17 lines
428 B
Plaintext
17 lines
428 B
Plaintext
Before:
|
|
call ale#assert#SetUpLinterTest('c3', 'c3lsp')
|
|
|
|
After:
|
|
call ale#assert#TearDownLinterTest()
|
|
|
|
Execute(The default c3lsp settings should be correct):
|
|
AssertLinter 'c3lsp', ale#Escape('c3lsp')
|
|
AssertLSPConfig {}
|
|
|
|
Execute(c3lsp should be configurable):
|
|
let b:ale_c3_c3lsp_executable = 'billy'
|
|
let b:ale_c3_c3lsp_init_options = {'x': 'y'}
|
|
|
|
AssertLinter 'billy', ale#Escape('billy')
|
|
AssertLSPConfig {'x': 'y'}
|