diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-03-06 09:56:16 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-03-06 09:56:16 +0000 |
commit | efff77406813ecc561c255c48090c58d2235f7a2 (patch) | |
tree | 123896a906abdfb6de3c0e3f13e0c69e98e3cc01 /editors/code/src/server.ts | |
parent | ab288a32f9a95e3ca5e9e42f9c6f59bb3849f26e (diff) | |
parent | 0dcb1cb569417a17e27a4d8b34813ded41395268 (diff) |
Merge #940
940: Show workspace loaded notification r=matklad a=vipentti
This fixes #935
This adds support for more `InitializationOptions` which are provided by the client.
Co-authored-by: Ville Penttinen <[email protected]>
Diffstat (limited to 'editors/code/src/server.ts')
-rw-r--r-- | editors/code/src/server.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/editors/code/src/server.ts b/editors/code/src/server.ts index 9ead87fae..50461b0c6 100644 --- a/editors/code/src/server.ts +++ b/editors/code/src/server.ts | |||
@@ -26,7 +26,9 @@ export class Server { | |||
26 | const clientOptions: lc.LanguageClientOptions = { | 26 | const clientOptions: lc.LanguageClientOptions = { |
27 | documentSelector: [{ scheme: 'file', language: 'rust' }], | 27 | documentSelector: [{ scheme: 'file', language: 'rust' }], |
28 | initializationOptions: { | 28 | initializationOptions: { |
29 | publishDecorations: true | 29 | publishDecorations: true, |
30 | showWorkspaceLoaded: | ||
31 | Server.config.showWorkspaceLoadedNotification | ||
30 | }, | 32 | }, |
31 | traceOutputChannel | 33 | traceOutputChannel |
32 | }; | 34 | }; |