From 4e06f1db10641e1c8604f5774c5be267805f0637 Mon Sep 17 00:00:00 2001 From: Ben Date: Fri, 15 Dec 2023 10:25:27 +0000 Subject: [PATCH] feat: global config change for code lenses --- src/extension.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extension.ts b/src/extension.ts index 48d266a0..b090f870 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -209,7 +209,7 @@ function registerCommands( commands.registerCommand("sourcery.chat.toggleCodeLens", () => { const config = vscode.workspace.getConfiguration(); const currentValue = config.get("sourcery.codeLens"); - config.update("sourcery.codeLens", !currentValue); + config.update("sourcery.codeLens", !currentValue, vscode.ConfigurationTarget.Global); }) );