Add a command to clear flycheck diagnostics

This commit is contained in:
Lukas Wirth 2022-12-17 23:43:26 +01:00
parent d8ddde27f9
commit cf8d89e46b
7 changed files with 64 additions and 2 deletions

View file

@ -80,7 +80,7 @@ export const relatedTests = new lc.RequestType<lc.TextDocumentPositionParams, Te
);
export const cancelFlycheck = new lc.NotificationType0("rust-analyzer/cancelFlycheck");
export const clearFlycheck = new lc.NotificationType0("rust-analyzer/clearFlycheck");
export const runFlycheck = new lc.NotificationType<{
textDocument: lc.TextDocumentIdentifier | null;
}>("rust-analyzer/runFlycheck");