Skip to content

Commit 8661740

Browse files
committed
Use typed notification method
1 parent d2281f0 commit 8661740

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editors/code/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ async function activateServer(ctx: Ctx): Promise<RustAnalyzerExtensionApi> {
7979
);
8080
vscode.workspace.onDidChangeConfiguration(
8181
async (_) => {
82-
await ctx.client?.sendNotification("workspace/didChangeConfiguration", {
82+
await ctx.client?.sendNotification(lc.DidChangeConfigurationNotification.type, {
8383
settings: "",
8484
});
8585
},

0 commit comments

Comments
 (0)