Skip to content

Commit

Permalink
fix: alt-dot
Browse files Browse the repository at this point in the history
  • Loading branch information
felixroos committed Dec 30, 2024
1 parent e380f0c commit b0022cb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ const createEditor = (doc) => {
keymap.of([
...stopKeys.map((key) => ({
key,
run: () => doc.evaluate("$: silence", { from: null, to: null }),
run: () => {
doc.evaluate("$: silence", { from: null, to: null });
return true;
},
})),
])
),
Expand Down

0 comments on commit b0022cb

Please sign in to comment.