diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-08-17 15:23:03 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-08-17 15:23:03 +0100 |
commit | 6826dd044a5a08359197b2a006905eb8518494a2 (patch) | |
tree | 64a08650423cb9b1025657e36f1d1c0767b73ad2 /editors/code/src/ctx.ts | |
parent | 64bbdb5bc7e61d2d6ff67e722e34275ef2a47554 (diff) | |
parent | 1eed036a6e68aee6128d099e3a8f2c06a90b846b (diff) |
Merge #5782
5782: Fix StatusNotification r=matklad a=vsrs
This PR fixes the following:
As per specification `params` property in [NotificationMessage ](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#notificationMessage) should be `array | object` while RA uses `"loading" | "ready" | "invalid" | "needsReload"`.
Co-authored-by: vsrs <[email protected]>
Diffstat (limited to 'editors/code/src/ctx.ts')
-rw-r--r-- | editors/code/src/ctx.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/ctx.ts b/editors/code/src/ctx.ts index 6e767babf..543f7e02e 100644 --- a/editors/code/src/ctx.ts +++ b/editors/code/src/ctx.ts | |||
@@ -36,7 +36,7 @@ export class Ctx { | |||
36 | 36 | ||
37 | res.pushCleanup(client.start()); | 37 | res.pushCleanup(client.start()); |
38 | await client.onReady(); | 38 | await client.onReady(); |
39 | client.onNotification(ra.status, (status) => res.setStatus(status)); | 39 | client.onNotification(ra.status, (params) => res.setStatus(params.status)); |
40 | return res; | 40 | return res; |
41 | } | 41 | } |
42 | 42 | ||