mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2025-12-12 20:35:54 +01:00
Add installer for emmylua-ls
This commit is contained in:
18
installer/install-emmylua-ls.sh
Executable file
18
installer/install-emmylua-ls.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
cd $(dirname $0)
|
||||
[ -d ../servers/emmylua-ls ] && rm -rf ../servers/emmylua-ls
|
||||
mkdir ../servers/emmylua-ls
|
||||
cd ../servers/emmylua-ls
|
||||
curl -L -o EmmyLua-LS-all.jar 'https://ci.appveyor.com/api/buildjobs/54yf9rjvj49494pd/artifacts/EmmyLua-LS%2Fbuild%2Flibs%2FEmmyLua-LS-all.jar'
|
||||
|
||||
cat <<EOF > emmylua-ls
|
||||
#!/bin/sh
|
||||
|
||||
DIR=\$(cd \$(dirname \$0); pwd)
|
||||
java -cp \$DIR/EmmyLua-LS-all.jar com.tang.vscode.MainKt
|
||||
EOF
|
||||
|
||||
chmod +x emmylua-ls
|
||||
Reference in New Issue
Block a user