mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Add config to Ctx
This commit is contained in:
parent
7646dc046e
commit
efbbc903e6
4 changed files with 10 additions and 9 deletions
|
@ -30,9 +30,7 @@ export function activateInlayHints(ctx: Ctx) {
|
|||
);
|
||||
ctx.pushCleanup(
|
||||
vscode.workspace.onDidChangeConfiguration(_ =>
|
||||
hintsUpdater.toggleHintsDisplay(
|
||||
Server.config.displayInlayHints,
|
||||
),
|
||||
hintsUpdater.toggleHintsDisplay(ctx.config.displayInlayHints),
|
||||
),
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue