diff options
author | Mitsuo Heijo <mitsuo.heijo@gmail.com> | 2020-01-31 00:06:49 +0900 |
---|---|---|
committer | Mitsuo Heijo <mitsuo.heijo@gmail.com> | 2020-01-31 00:06:49 +0900 |
commit | a529f0d6aebec229516ce849863bb8c3a3f998d1 (patch) | |
tree | 65fc7a7e06f9447ff692c679082ebc77e3f1e098 /installer/install-ra_lsp_server.sh | |
parent | 4da303693f43c6b97bbb43db9ca81a7f4c4c150b (diff) | |
download | vim-lsp-settings-a529f0d6aebec229516ce849863bb8c3a3f998d1.tar.gz vim-lsp-settings-a529f0d6aebec229516ce849863bb8c3a3f998d1.tar.bz2 vim-lsp-settings-a529f0d6aebec229516ce849863bb8c3a3f998d1.zip |
fix shellcheck issues, format bash scripts with shfmt
Diffstat (limited to 'installer/install-ra_lsp_server.sh')
-rwxr-xr-x | installer/install-ra_lsp_server.sh | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/installer/install-ra_lsp_server.sh b/installer/install-ra_lsp_server.sh index 17ea397..7b5ad9a 100755 --- a/installer/install-ra_lsp_server.sh +++ b/installer/install-ra_lsp_server.sh @@ -5,14 +5,16 @@ set -e os=$(uname -s | tr "[:upper:]" "[:lower:]") case $os in - linux) - platform="linux" - ;; - darwin) - platform="mac" - ;; +linux) + platform="linux" + ;; +darwin) + platform="mac" + ;; esac -curl -L -o ra_lsp_server-$platform "https://github.com/rust-analyzer/rust-analyzer/releases/download/2020-01-27/ra_lsp_server-$platform" +version="2020-01-29" +curl -L -o ra_lsp_server-$platform "https://github.com/rust-analyzer/rust-analyzer/releases/download/$version/ra_lsp_server-$platform" mv ra_lsp_server-$platform ra_lsp_server +chmod +x ra_lsp_server |