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); }) );