Unnamed repository; edit this file 'description' to name the repository.
Change the global setting when toggling inlay hints
| -rw-r--r-- | editors/code/src/commands.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/commands.ts b/editors/code/src/commands.ts index ece7001382..0e08b60a93 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); }; } |