mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Fix trace and prettier
This commit is contained in:
parent
9138317021
commit
28fd368393
1 changed files with 4 additions and 2 deletions
|
@ -20,7 +20,9 @@ export class Server {
|
||||||
run,
|
run,
|
||||||
debug: run
|
debug: run
|
||||||
};
|
};
|
||||||
const traceOutputChannel = window.createOutputChannel('Rust Analyzer Language Server Trace');
|
const traceOutputChannel = window.createOutputChannel(
|
||||||
|
'Rust Analyzer Language Server Trace'
|
||||||
|
);
|
||||||
const clientOptions: lc.LanguageClientOptions = {
|
const clientOptions: lc.LanguageClientOptions = {
|
||||||
documentSelector: [{ scheme: 'file', language: 'rust' }],
|
documentSelector: [{ scheme: 'file', language: 'rust' }],
|
||||||
initializationOptions: {
|
initializationOptions: {
|
||||||
|
@ -30,7 +32,7 @@ export class Server {
|
||||||
};
|
};
|
||||||
|
|
||||||
Server.client = new lc.LanguageClient(
|
Server.client = new lc.LanguageClient(
|
||||||
'ra-lsp',
|
'rust-analyzer',
|
||||||
'Rust Analyzer Language Server',
|
'Rust Analyzer Language Server',
|
||||||
serverOptions,
|
serverOptions,
|
||||||
clientOptions
|
clientOptions
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue