3346b200bf
The command used to invoke the LSP process was being escaped wrong. Also added a new option to set a different java executable and fixed the documentation.
14 lines
494 B
Text
14 lines
494 B
Text
|
|
Before:
|
|
call ale#assert#SetUpLinterTest('java', 'javalsp')
|
|
|
|
After:
|
|
call ale#assert#TearDownLinterTest()
|
|
|
|
Execute(The javalsp callback should return the correct default value):
|
|
AssertLinter 'java', ale#Escape('java') . ' -cp javacs.jar -Xverify:none org.javacs.Main'
|
|
|
|
Execute(The javalsp java executable should be configurable):
|
|
let b:ale_java_javalsp_executable = '/bin/foobar'
|
|
|
|
AssertLinter '/bin/foobar', ale#Escape('/bin/foobar') . ' -cp javacs.jar -Xverify:none org.javacs.Main'
|