Add lsp command for rebuilding proc macros

This commit is contained in:
Lukas Wirth 2023-03-25 16:47:41 +01:00
parent d154ea88f9
commit e9fb2ffe45
7 changed files with 27 additions and 1 deletions

View file

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