rust-analyzer/editors/code/src/base_client.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
420 B
TypeScript
Raw Normal View History

2023-10-28 14:34:00 +00:00
import * as lc from "vscode-languageclient/node";
export class RaLanguageClient extends lc.LanguageClient {
override error(message: string, data?: any, showNotification?: boolean | "force"): void {
// ignore `Request TYPE failed.` errors
if (message.startsWith("Request") && message.endsWith("failed.")) {
return;
}
super.error(message, data, showNotification);
}
}