mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 01:17:27 +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…
Reference in a new issue