mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2025-12-12 20:35:54 +01:00
19 lines
508 B
Bash
Executable File
19 lines
508 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
version="0.9.1"
|
|
url="https://github.com/eclipse/che-che4z-lsp-for-cobol/releases/download/$version/cobol-language-support-$version.vsix"
|
|
filename="cobol-language-support-$version.vsix"
|
|
curl -L "$url" -o "$filename"
|
|
unzip "$filename"
|
|
rm "$filename"
|
|
|
|
cat <<EOF >./cobol-language-support
|
|
#!/usr/bin/env bash
|
|
DIR=\$(cd \$(dirname \$0); pwd)
|
|
java "-Dline.speparator=\r\n" -jar "\$DIR/extension/server/lsp-service-cobol-$version.jar" pipeEnabled
|
|
EOF
|
|
|
|
chmod +x ./cobol-language-support
|