aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-11-08 15:43:02 +0000
committerAleksey Kladov <[email protected]>2018-11-08 15:43:02 +0000
commit00e80b24e3a46b3c4a6411151132fccc539abd5f (patch)
tree76fb0982fa8da3a915c7c226892681b30a044a86 /editors/code/src
parentc69ff08dc9074ed92c11e9fb6bf267288aa3fa25 (diff)
workspace-symbols function for Emacs
Diffstat (limited to 'editors/code/src')
-rw-r--r--editors/code/src/server.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/editors/code/src/server.ts b/editors/code/src/server.ts
index a7a22fa6f..75e273f37 100644
--- a/editors/code/src/server.ts
+++ b/editors/code/src/server.ts
@@ -20,7 +20,10 @@ export class Server {
20 debug: run 20 debug: run
21 }; 21 };
22 const clientOptions: lc.LanguageClientOptions = { 22 const clientOptions: lc.LanguageClientOptions = {
23 documentSelector: [{ scheme: 'file', language: 'rust' }] 23 documentSelector: [{ scheme: 'file', language: 'rust' }],
24 initializationOptions: {
25 publishDecorations: true,
26 }
24 }; 27 };
25 28
26 Server.client = new lc.LanguageClient( 29 Server.client = new lc.LanguageClient(