Skip to content

Commit

Permalink
feat: global config change for code lenses
Browse files Browse the repository at this point in the history
  • Loading branch information
bm424 committed Dec 15, 2023
1 parent 839dccd commit 4e06f1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
})
);

Expand Down

0 comments on commit 4e06f1d

Please sign in to comment.