mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Lean onto default implementation of configs
This commit is contained in:
parent
e4cf40a152
commit
48c58309cc
8 changed files with 24 additions and 70 deletions
|
@ -2,7 +2,7 @@ import * as vscode from 'vscode';
|
|||
import * as lc from 'vscode-languageclient';
|
||||
|
||||
import { Config } from './config';
|
||||
import { createClient, configToServerOptions } from './client';
|
||||
import { createClient } from './client';
|
||||
import { isRustEditor, RustEditor } from './util';
|
||||
|
||||
export class Ctx {
|
||||
|
@ -25,7 +25,6 @@ export class Ctx {
|
|||
const res = new Ctx(config, extCtx, client, serverPath);
|
||||
res.pushCleanup(client.start());
|
||||
await client.onReady();
|
||||
client.onRequest('workspace/configuration', _ => [configToServerOptions(config)]);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue