diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-01-31 22:40:02 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-01-31 22:40:02 +0900 |
commit | deee3e6970cea618d1ee7f3a97008d0e09b9d02d (patch) | |
tree | 614b3c74adf622ee76b65a2f10a3416260254986 /installer/install-svls.sh | |
parent | a9df331431592bee084c95de918a031984d9a899 (diff) | |
download | vim-lsp-settings-deee3e6970cea618d1ee7f3a97008d0e09b9d02d.tar.gz vim-lsp-settings-deee3e6970cea618d1ee7f3a97008d0e09b9d02d.tar.bz2 vim-lsp-settings-deee3e6970cea618d1ee7f3a97008d0e09b9d02d.zip |
Add svls
Diffstat (limited to 'installer/install-svls.sh')
-rwxr-xr-x | installer/install-svls.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/installer/install-svls.sh b/installer/install-svls.sh new file mode 100755 index 0000000..a0f2675 --- /dev/null +++ b/installer/install-svls.sh @@ -0,0 +1,23 @@ +#!/usr/bin/env bash + +set -e + +os=$(uname -s | tr "[:upper:]" "[:lower:]") + +case $os in +linux) + os="lnx" + ;; +darwin) + os="mac" + ;; +*) + printf "%s doesn't supported by bash installer" "$os" + exit 1 + ;; +esac + +version="v0.1.12" +curl -L -o svls-$version-x86_64-$os.zip "https://github.com/dalance/svls/releases/download/v0.1.12/svls-$version-x86_64-$os.zip" +unzip svls-$version-x86_64-$os.zip +rm svls-$version-x86_64-$os.zip |