mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2025-12-12 20:35:54 +01:00
Update cobol to 2.1.1
This commit is contained in:
@@ -2,8 +2,9 @@
|
||||
|
||||
set -e
|
||||
|
||||
version="0.9.1"
|
||||
url="https://github.com/eclipse/che-che4z-lsp-for-cobol/releases/download/$version/cobol-language-support-$version.vsix"
|
||||
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"
|
||||
@@ -12,7 +13,7 @@ rm "$filename"
|
||||
cat <<EOF >./cobol-language-support
|
||||
#!/bin/sh
|
||||
DIR=\$(cd \$(dirname \$0); pwd)
|
||||
java "-Dline.speparator=\r\n" -jar "\$DIR/extension/server/lsp-service-cobol-$version.jar" pipeEnabled
|
||||
java "-Dline.speparator=\r\n" -jar "\$DIR/extension/server/jar/server.jar" pipeEnabled
|
||||
EOF
|
||||
|
||||
chmod +x ./cobol-language-support
|
||||
|
||||
Reference in New Issue
Block a user