Merge pull request #229092 from lblasc/lblasc/sumnekolua

vscode-extensions.sumneko.lua: 3.5.6 -> 3.6.19
This commit is contained in:
Aaron Andersen 2023-05-02 08:06:50 -04:00 committed by GitHub
commit 4d7b1089ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -7,10 +7,12 @@ vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = {
name = "lua";
publisher = "sumneko";
version = "3.5.6";
sha256 = "sha256-Unzs9rX/0MlQprSvScdBCCFMeLCaGzWsMbcFqSKY2XY=";
version = "3.6.19";
sha256 = "sha256-7f8zovJS1lNwrUryxgadrBbNRw/OwFqry57JWKY1D8E=";
};
# Running chmod in runtime will lock up extension
# indefinitely if the binary is in nix store.
patches = [ ./remove-chmod.patch ];
postInstall = ''

View File

@ -1,8 +1,6 @@
diff --git a/client/out/languageserver.js b/client/out/languageserver.js
index 6c7429c..6f53aa4 100644
--- a/client/out/languageserver.js
+++ b/client/out/languageserver.js
@@ -79,11 +79,9 @@ class LuaClient {
@@ -145,11 +145,9 @@
break;
case "linux":
command = this.context.asAbsolutePath(path.join('server', binDir ? binDir : 'bin-Linux', 'lua-language-server'));
@ -12,5 +10,5 @@ index 6c7429c..6f53aa4 100644
command = this.context.asAbsolutePath(path.join('server', binDir ? binDir : 'bin-macOS', 'lua-language-server'));
- yield fs.promises.chmod(command, '777');
break;
}
let serverOptions = {
default:
throw new Error(`Unsupported operating system "${platform}"!`);