Do not set default binary.
The default binary "launcher" is too generic and can get mixed with other tools. To use this linter user must explicitly set the absolute path of the launcher path.
This commit is contained in:
parent
5ce97f8cdb
commit
e84c9b300b
@ -1,7 +1,7 @@
|
||||
" Author: Horacio Sanson <https://github.com/hsanson>
|
||||
" Description: Support for the Java language server https://github.com/georgewfraser/vscode-javac
|
||||
|
||||
call ale#Set('java_javalsp_executable', 'launcher')
|
||||
call ale#Set('java_javalsp_executable', '')
|
||||
|
||||
function! ale_linters#java#javalsp#Executable(buffer) abort
|
||||
return ale#Var(a:buffer, 'java_javalsp_executable')
|
||||
|
@ -6,7 +6,7 @@ After:
|
||||
call ale#assert#TearDownLinterTest()
|
||||
|
||||
Execute(The javalsp callback should return the correct default value):
|
||||
AssertLinter 'launcher', ale#Escape('launcher')
|
||||
AssertLinter '', ale#Escape('')
|
||||
|
||||
Execute(The javalsp java executable should be configurable):
|
||||
let b:ale_java_javalsp_executable = '/bin/foobar'
|
||||
|
Loading…
Reference in New Issue
Block a user