LSP working for Lua

This commit is contained in:
Radon Rosborough 2020-07-08 20:55:14 -06:00
parent 2f3f018ba3
commit cd8682a855
2 changed files with 5 additions and 0 deletions

View File

@ -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!")
`,
},

View File

@ -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