WIP: Kotlin LSP
This commit is contained in:
parent
3fa097dfc6
commit
0ee658aa95
|
@ -1341,6 +1341,9 @@ PLEASE GIVE UP
|
|||
repl: `JAVA_OPTS="-Duser.home=$PWD" kotlinc`,
|
||||
main: "main.kts",
|
||||
run: `JAVA_OPTS="-Duser.home=$PWD" kotlinc -script main.kts; kotlinc`,
|
||||
lsp: {
|
||||
start: "kotlin-language-server",
|
||||
},
|
||||
template: `println("Hello, world!")
|
||||
`,
|
||||
timeout: 30,
|
||||
|
|
|
@ -174,6 +174,11 @@ ln -s /opt/kotlin/bin/* /usr/local/bin/
|
|||
ln -s /opt/kotlin/lib/* /usr/local/lib/
|
||||
rm kotlin-*.zip
|
||||
|
||||
wget -nv https://github.com/fwcd/kotlin-language-server/releases/download/0.6.0/server.zip
|
||||
unzip server.zip
|
||||
mv server /opt/kotlin-language-server
|
||||
ln -s /opt/kotlin-language-server/bin/kotlin-language-server /usr/local/bin/
|
||||
|
||||
# Lua
|
||||
ver="$(latest_release EmmyLua/EmmyLua-LanguageServer)"
|
||||
wget -nv "https://github.com/EmmyLua/EmmyLua-LanguageServer/releases/download/${ver}/EmmyLua-LS-all.jar"
|
||||
|
|
Loading…
Reference in New Issue