Unnamed repository; edit this file 'description' to name the repository.
Change the global setting when toggling inlay hints
Laurențiu Nicola 2021-09-24
parent eb727c7 · commit db5e011
-rw-r--r--editors/code/src/commands.ts2
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);
};
}