diff --git a/editors/code/src/commands.ts b/editors/code/src/commands.ts index ece700138252..0e08b60a93c4 100644 --- a/editors/code/src/commands.ts +++ b/editors/code/src/commands.ts @@ -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); }; }