aboutsummaryrefslogtreecommitdiff
path: root/editors/code
diff options
context:
space:
mode:
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/src/server.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/editors/code/src/server.ts b/editors/code/src/server.ts
index 7bb0e56ca..9ead87fae 100644
--- a/editors/code/src/server.ts
+++ b/editors/code/src/server.ts
@@ -20,7 +20,9 @@ export class Server {
20 run, 20 run,
21 debug: run 21 debug: run
22 }; 22 };
23 const traceOutputChannel = window.createOutputChannel('Rust Analyzer Language Server Trace'); 23 const traceOutputChannel = window.createOutputChannel(
24 'Rust Analyzer Language Server Trace'
25 );
24 const clientOptions: lc.LanguageClientOptions = { 26 const clientOptions: lc.LanguageClientOptions = {
25 documentSelector: [{ scheme: 'file', language: 'rust' }], 27 documentSelector: [{ scheme: 'file', language: 'rust' }],
26 initializationOptions: { 28 initializationOptions: {
@@ -30,7 +32,7 @@ export class Server {
30 }; 32 };
31 33
32 Server.client = new lc.LanguageClient( 34 Server.client = new lc.LanguageClient(
33 'ra-lsp', 35 'rust-analyzer',
34 'Rust Analyzer Language Server', 36 'Rust Analyzer Language Server',
35 serverOptions, 37 serverOptions,
36 clientOptions 38 clientOptions