diff --git a/backend/src/langs.ts b/backend/src/langs.ts index 091e1a6..a612b52 100644 --- a/backend/src/langs.ts +++ b/backend/src/langs.ts @@ -587,6 +587,7 @@ KTHXBYE repl: "lua", main: "main.lua", run: "lua -i main.lua", + lsp: "java -cp /usr/lib/EmmyLua-LS.jar com.tang.vscode.MainKt", template: `print("Hello, world!") `, }, diff --git a/scripts/docker-install-phase5.bash b/scripts/docker-install-phase5.bash index ab0763b..58aee57 100755 --- a/scripts/docker-install-phase5.bash +++ b/scripts/docker-install-phase5.bash @@ -81,6 +81,10 @@ cp kotlinc/bin/* /usr/bin/ cp kotlinc/lib/* /usr/lib/ rm -rf kotlin-*.zip kotlinc +# Lua +wget -nv https://github.com/EmmyLua/EmmyLua-LanguageServer/releases/download/0.3.6/EmmyLua-LS-all.jar +mv EmmyLua-LS-all.jar /usr/lib/EmmyLua-LS.jar + # PowerShell wget -nv https://github.com/PowerShell/PowerShell/releases/download/v7.0.1/powershell-7.0.1-linux-x64.tar.gz mkdir /opt/powershell