Skip to content

Commit

Permalink
Fix missing editorTextFocus condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Strackeror committed Jul 15, 2024
1 parent 7e1a759 commit 8babb7f
Show file tree
Hide file tree
Showing 4 changed files with 89 additions and 89 deletions.
2 changes: 1 addition & 1 deletion extensions/helix/package.build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export const pkg = (modules: Builder.ParsedModule[]) => ({
}

for (const mode of ["normal", "select"]) {
const whenMode = `dance.mode == 'helix/${mode}'`;
const whenMode = `editorTextFocus && dance.mode == 'helix/${mode}'`;
ignoredKeybindings.push(...generateIgnoredKeybinds(
keybindings.filter(key => key.when.includes(whenMode)),
whenMode,
Expand Down
Loading

0 comments on commit 8babb7f

Please sign in to comment.