Change the global setting when toggling inlay hints
This commit is contained in:
parent
eb727c7222
commit
db5e01189a
@ -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…
x
Reference in New Issue
Block a user