mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-31 00:24:31 +08:00
Adding support for Odin language server (ols). (#4679)
This commit is contained in:
16
test/linter/test_odin_ols.vader
Normal file
16
test/linter/test_odin_ols.vader
Normal file
@@ -0,0 +1,16 @@
|
||||
Before:
|
||||
call ale#assert#SetUpLinterTest('odin', 'ols')
|
||||
|
||||
After:
|
||||
call ale#assert#TearDownLinterTest()
|
||||
|
||||
Execute(The default executable path should be correct):
|
||||
AssertLinter 'ols', ale#Escape('ols')
|
||||
|
||||
Execute(The LSP values should be set correctly):
|
||||
call ale#test#SetFilename('../test-files/odin/main.odin')
|
||||
|
||||
AssertLSPLanguage 'odin'
|
||||
AssertLSPOptions {}
|
||||
AssertLSPConfig {}
|
||||
AssertLSPProject '.'
|
||||
0
test/test-files/odin/main.odin
Normal file
0
test/test-files/odin/main.odin
Normal file
Reference in New Issue
Block a user