mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Refactor config
This commit is contained in:
parent
76f283108b
commit
0849f7001c
2 changed files with 6 additions and 7 deletions
|
@ -4,10 +4,11 @@ import { Server } from './server';
|
|||
import { Config } from './config';
|
||||
|
||||
export class Ctx {
|
||||
readonly config = new Config();
|
||||
readonly config: Config;
|
||||
private extCtx: vscode.ExtensionContext;
|
||||
|
||||
constructor(extCtx: vscode.ExtensionContext) {
|
||||
this.config = new Config(extCtx)
|
||||
this.extCtx = extCtx;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue