Skip to content

Commit 4e06f1d

Browse files
committed
feat: global config change for code lenses
1 parent 839dccd commit 4e06f1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ function registerCommands(
209209
commands.registerCommand("sourcery.chat.toggleCodeLens", () => {
210210
const config = vscode.workspace.getConfiguration();
211211
const currentValue = config.get("sourcery.codeLens");
212-
config.update("sourcery.codeLens", !currentValue);
212+
config.update("sourcery.codeLens", !currentValue, vscode.ConfigurationTarget.Global);
213213
})
214214
);
215215

0 commit comments

Comments
 (0)