From 1eed036a6e68aee6128d099e3a8f2c06a90b846b Mon Sep 17 00:00:00 2001 From: vsrs Date: Mon, 17 Aug 2020 14:56:27 +0300 Subject: Fix StatusNotification --- docs/dev/lsp-extensions.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'docs/dev') diff --git a/docs/dev/lsp-extensions.md b/docs/dev/lsp-extensions.md index 1be01fd88..2e3133449 100644 --- a/docs/dev/lsp-extensions.md +++ b/docs/dev/lsp-extensions.md @@ -412,7 +412,13 @@ Reloads project information (that is, re-executes `cargo metadata`). **Method:** `rust-analyzer/status` -**Notification:** `"loading" | "ready" | "invalid" | "needsReload"` +**Notification:** + +```typescript +interface StatusParams { + status: "loading" | "ready" | "invalid" | "needsReload", +} +``` This notification is sent from server to client. The client can use it to display persistent status to the user (in modline). -- cgit v1.2.3