mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2025-12-12 20:35:54 +01:00
20 lines
318 B
Bash
Executable File
20 lines
318 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
os=$(uname -s | tr "[:upper:]" "[:lower:]")
|
|
|
|
case $os in
|
|
linux) ;;
|
|
darwin)
|
|
os="macos"
|
|
;;
|
|
*)
|
|
printf "%s doesn't supported by bash installer" "$os"
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
url="https://github.com/latex-lsp/texlab/releases/latest/download/texlab-x86_64-$os.tar.gz"
|
|
curl -L "$url" | tar xzv
|