From db5e01189a323481b55f85cc7508c0a567c9d59f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Thu, 23 Sep 2021 20:45:45 +0300 Subject: [PATCH] Change the global setting when toggling inlay hints --- editors/code/src/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }; }