Allow running eclipselsp as installed by system package on GNU/Linux (#2523)

* Search eclipselsp jar and config files within system package path
* Allow setting an alternate eclipselsp configuration directory
* Add test for ale_java_eclipselsp_config_path
This commit is contained in:
Grim Kriegor
2019-05-21 21:13:06 +01:00
committed by w0rp
parent f6ae056d02
commit 0427ee84b4
3 changed files with 43 additions and 0 deletions

View File

@@ -141,6 +141,19 @@ g:ale_java_eclipselsp_executable *g:ale_java_eclipse_executable*
This variable can be set to change the executable path used for java.
g:ale_java_eclipselsp_config_path *g:ale_java_eclipse_config_path*
*b:ale_java_eclipse_config_path*
Type: |String|
Default: `''`
Set this variable to change the configuration directory path used by
eclipselsp (e.g. `$HOME/.jdtls` in Linux).
By default ALE will attempt to use the configuration within the installation
directory.
This setting is particularly useful when eclipselsp is installed in a
non-writable directory like `/usr/share/java/jdtls`, as is the case when
installed via system package.
===============================================================================
uncrustify *ale-java-uncrustify*