Make cancelFlycheck request a notification

This commit is contained in:
Lukas Wirth 2022-12-17 23:29:25 +01:00
parent cdfe98fe94
commit d8ddde27f9
4 changed files with 4 additions and 5 deletions

View file

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