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