mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-16 19:11:27 +08:00
Document and test reason-language-server
This commit is contained in:
7 files changed
+49
-17
No files matched your search
Whitespace-only changes.
@@ -0,0 +1,21 @@
|
||||
Before:
|
||||
call ale#assert#SetUpLinterTest('reason', 'ls')
|
||||
|
||||
After:
|
||||
call ale#assert#TearDownLinterTest()
|
||||
|
||||
Execute(The linter should not be run by default):
|
||||
AssertLinterNotExecuted
|
||||
|
||||
Execute(The executable should be configurable):
|
||||
let b:ale_reason_ls_executable = 'foobar'
|
||||
|
||||
AssertLinter 'foobar', ale#Escape('foobar')
|
||||
|
||||
Execute(There should be no default project root):
|
||||
AssertLSPProject ''
|
||||
|
||||
Execute(The project root should be detected using bsconfig.json):
|
||||
call ale#test#SetFilename('reason_ls_paths/test.ml')
|
||||
|
||||
AssertLSPProject ale#path#Simplify(g:dir . '/reason_ls_paths')
|
||||
Reference in new issue
Block a user