mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-08 11:18:48 +00:00
12 lines
420 B
TypeScript
12 lines
420 B
TypeScript
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);
|
|
}
|
|
}
|