diff options
author | DJMcNab <[email protected]> | 2019-02-10 10:30:16 +0000 |
---|---|---|
committer | DJMcNab <[email protected]> | 2019-02-10 10:30:16 +0000 |
commit | 28fd3683938ee74d4ef319b94ce6c9c3ff74a036 (patch) | |
tree | 513189ea738ebb5c40a65fe9456e82e237d927a7 /editors/code | |
parent | 913831702154fb6c532622fb50ab0d7aebceb3d9 (diff) |
Fix trace and prettier
Diffstat (limited to 'editors/code')
-rw-r--r-- | editors/code/src/server.ts | 6 |
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 |