diff --git a/.gitignore b/.gitignore index 7c26141..5633c24 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .netrwhist +lls spell diff --git a/install_lls.sh b/install_lls.sh new file mode 100755 index 0000000..3693e59 --- /dev/null +++ b/install_lls.sh @@ -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