mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-22 11:24:24 +00:00
Change the global setting when toggling inlay hints
This commit is contained in:
parent
eb727c7222
commit
db5e01189a
1 changed files with 1 additions and 1 deletions
|
@ -292,7 +292,7 @@ export function toggleInlayHints(ctx: Ctx): Cmd {
|
|||
await vscode
|
||||
.workspace
|
||||
.getConfiguration(`${ctx.config.rootSection}.inlayHints`)
|
||||
.update('enable', !ctx.config.inlayHints.enable, vscode.ConfigurationTarget.Workspace);
|
||||
.update('enable', !ctx.config.inlayHints.enable, vscode.ConfigurationTarget.Global);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue