WIP: Groovy LSP
This commit is contained in:
parent
ebed873b5c
commit
e3128a0259
|
@ -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,
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue