Skip to content

Commit 81a0ae4

Browse files
committed
vscode-ext: use new invocation for lsp server
1 parent c66216d commit 81a0ae4

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ members = [
77

88
[package]
99
name = "caesar"
10-
version = "2.1.0"
10+
version = "2.1.1"
1111
authors = ["Philipp Schroer <[email protected]>"]
1212
description = "Caesar is a deductive verifier for probabilistic programs."
1313
homepage = "https://www.caesarverifier.org/"

vscode-ext/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "Caesar Verifier",
44
"description": "The quantitative deductive verifier Caesar for VSCode",
55
"publisher": "rwth-moves",
6-
"version": "2.1.0",
6+
"version": "2.1.1",
77
"repository": {
88
"type": "git",
99
"url": "https://github.com/moves-rwth/caesar.git",

vscode-ext/src/CaesarClient.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ export class CaesarClient {
230230
serverExecutable = pathRes;
231231
}
232232
}
233-
args.push('--language-server');
233+
args.push('lsp');
234234
}
235235
break;
236236
case ConfigurationConstants.userBinaryOption:
@@ -242,7 +242,7 @@ export class CaesarClient {
242242
});
243243
throw new Error("Installation path is not set");
244244
}
245-
args.push('--language-server');
245+
args.push('lsp');
246246
break;
247247
case ConfigurationConstants.sourceCodeOption:
248248
serverDirectory = ServerConfig.get(ConfigurationConstants.sourcePath);
@@ -262,7 +262,7 @@ export class CaesarClient {
262262
throw new Error("Cargo.toml file is not found in the path");
263263
}
264264
serverExecutable = "cargo";
265-
args.push('run', '--', '--language-server');
265+
args.push('run', '--', 'lsp');
266266
break;
267267
default:
268268
this.logger.error("Client: unknown installation choice config setting", installationChoice);

0 commit comments

Comments
 (0)