mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-09 13:02:28 +08:00
Improve eclipselsp jar search logic.
- Set default value to $HOME/eclipse.jdt.ls - Make JAR search regexp more specific. - Allow to set the VSCode extensions folder as ale_java_eclipselsp_path.
This commit is contained in:
@@ -3,12 +3,12 @@ Before:
|
||||
let b:ale_java_eclipselsp_path = '/home/user/eclipse.dst.ls'
|
||||
call ale#test#SetFilename('dummy.java')
|
||||
|
||||
let b:cfg = '/home/user/eclipse.dst.ls/org.eclipse.jdt.ls.product/target/repository/config_linux'
|
||||
let b:cfg = '/testplugin/test/config_linux'
|
||||
|
||||
if has('win32')
|
||||
let b:cfg = '\home\user\eclipse.dst.ls\org.eclipse.jdt.ls.product\target\repository\config_win'
|
||||
let b:cfg = 'C:\testplugin\test\config_win'
|
||||
elseif has('macunix')
|
||||
let b:cfg = '/home/user/eclipse.dst.ls/org.eclipse.jdt.ls.product/target/repository/config_mac'
|
||||
let b:cfg = '/testplugin/test/config_mac'
|
||||
endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user