summaryrefslogtreecommitdiff
path: root/doc/ale-java.txt
diff options
context:
space:
mode:
authorHoracio Sanson <horacio@allm.net>2019-06-05 00:31:56 +0900
committerHoracio Sanson <horacio@allm.net>2019-06-05 00:50:23 +0900
commit5ce97f8cdb285b86a4891fde6dcd14283bc2756f (patch)
treea3096530d1c298c4be7a13beb53df0cf17ebdd8e /doc/ale-java.txt
parent42a1fc2d29d710687504043dbb746eefb8248781 (diff)
downloadale-5ce97f8cdb285b86a4891fde6dcd14283bc2756f.zip
Fix javalsp command callback.
The command used to invoke the language server is missing some options to include additional java modules. Without these modules the server was not working properly. The correct command can be found in a `launcher` script on the same directory the `java` executable for the language server is found. This commit changes the docs to prefer the launcher script over the java executable. For backward compatibility it also fixes the command invocation in case the java executable is configured.
Diffstat (limited to 'doc/ale-java.txt')
-rw-r--r--doc/ale-java.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/ale-java.txt b/doc/ale-java.txt
index 65d2299b..a563f1fb 100644
--- a/doc/ale-java.txt
+++ b/doc/ale-java.txt
@@ -117,16 +117,19 @@ or
This generates a dist/mac or dist/windows directory that contains the
language server. To let ALE use this language server you need to set the
-g:ale_java_javalsp_executable variable to the absolute path of the java
+g:ale_java_javalsp_executable variable to the absolute path of the launcher
executable in this directory.
g:ale_java_javalsp_executable *g:ale_java_javalsp_executable*
*b:ale_java_javalsp_executable*
Type: |String|
- Default: `'java'`
-
-This variable can be changed to use a different executable for java.
+ Default: `'launcher'`
+This variable must be set to the absolute path of the language server launcher
+executable. For example:
+>
+ let g:ale_java_javalsp_executable=/java-language-server/dist/mac/bin/launcher
+<
===============================================================================
eclipselsp *ale-java-eclipselsp*