Skip to content

Commit 8398859

Browse files
bors[bot]lnicola
andauthored
Merge #10321
10321: fix: Change the global setting when toggling inlay hints r=lnicola a=lnicola Closes #10318 Co-authored-by: Laurențiu Nicola <[email protected]>
2 parents 61bb0cf + db5e011 commit 8398859

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editors/code/src/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ export function toggleInlayHints(ctx: Ctx): Cmd {
292292
await vscode
293293
.workspace
294294
.getConfiguration(`${ctx.config.rootSection}.inlayHints`)
295-
.update('enable', !ctx.config.inlayHints.enable, vscode.ConfigurationTarget.Workspace);
295+
.update('enable', !ctx.config.inlayHints.enable, vscode.ConfigurationTarget.Global);
296296
};
297297
}
298298

0 commit comments

Comments
 (0)