Skip to content

Commit

Permalink
Merge pull request #134 from tshino/new-context-active
Browse files Browse the repository at this point in the history
Introduce new context 'kb-macro.active' as an alias
  • Loading branch information
tshino authored Aug 3, 2022
2 parents 83357d5 + 386b403 commit c07b013
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ function activate(context) {

const contextName = ContextPrefix + 'recording';
vscode.commands.executeCommand('setContext', contextName, recording);
const contextNameAlias = ContextPrefix + 'active';
vscode.commands.executeCommand('setContext', contextNameAlias, recording);

if (recording) {
modeIndicator.show();
Expand Down

0 comments on commit c07b013

Please sign in to comment.