mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2025-12-12 20:35:54 +01:00
21 lines
338 B
Bash
Executable File
21 lines
338 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
version="v0.23.0"
|
|
zip="elixir-ls-$version.zip"
|
|
url="https://github.com/elixir-lsp/elixir-ls/releases/download/$version/$zip"
|
|
curl -L -o "$zip" "$url"
|
|
unzip "$zip"
|
|
rm "$zip"
|
|
|
|
cat <<EOF >elixir-ls
|
|
#!/bin/sh
|
|
|
|
DIR=\$(cd \$(dirname \$0); pwd)
|
|
\$DIR/language_server.sh \$*
|
|
EOF
|
|
|
|
chmod +x language_server.sh
|
|
chmod +x elixir-ls
|