WIP: Groovy LSP

This commit is contained in:
Radon Rosborough 2020-08-22 17:29:53 -06:00
parent ebed873b5c
commit e3128a0259
2 changed files with 12 additions and 0 deletions

View File

@ -954,6 +954,9 @@ func main() {
scope: { scope: {
code: `x = 123 * 234;`, code: `x = 123 * 234;`,
}, },
lsp: {
start: `JAVA_OPTS="-Djava.util.prefs.systemRoot=$PWD/.java -Djava.util.prefs.userRoot=$PWD/.java/.userPrefs" java -jar /opt/groovy/language-server.jar`,
},
template: `print "Hello, world!"; template: `print "Hello, world!";
`, `,
timeout: 15, timeout: 15,

View File

@ -24,6 +24,15 @@ mv _build/default/bin/erlang_ls /usr/local/bin/erlang_ls
popd >/dev/null popd >/dev/null
rm -rf erlang_ls rm -rf erlang_ls
# Groovy
git clone https://github.com/prominic/groovy-language-server.git
pushd groovy-language-server >/dev/null
./gradlew build
mkdir /opt/groovy
mv build/libs/groovy-language-server-all.jar /opt/groovy/language-server.jar
popd >/dev/null
rm -rf groovy-language-server
# Hexagony # Hexagony
git clone https://github.com/m-ender/hexagony.git /opt/hexagony git clone https://github.com/m-ender/hexagony.git /opt/hexagony