Skip to content

Commit db5e011

Browse files
committed
Change the global setting when toggling inlay hints
1 parent eb727c7 commit db5e011

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)