Add lls downloader

This commit is contained in:
Alex Yatskov 2024-12-26 22:59:49 -08:00
parent 0a5905af71
commit 9b0f06442a
2 changed files with 13 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
.netrwhist
lls
spell

12
install_lls.sh Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/bash -e
RELEASE_VERSION="3.13.5"
RELEASE_URL="https://github.com/LuaLS/lua-language-server/releases/download/$RELEASE_VERSION/lua-language-server-$RELEASE_VERSION-linux-x64.tar.gz"
RELEASE_NAME="lls.tar.gz"
RELEASE_DIR="lls"
wget $RELEASE_URL -O $RELEASE_NAME
rm -rf $RELEASE_DIR
mkdir -p $RELEASE_DIR
tar xzf $RELEASE_NAME -C $RELEASE_DIR
rm $RELEASE_NAME