Skip to content

Commit

Permalink
fix #126
Browse files Browse the repository at this point in the history
  • Loading branch information
dm0n3y committed Feb 18, 2025
1 parent 9f05093 commit 0e6e056
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/editor/Modify.re
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,9 @@ let meld_remold =
&& !Label.is_instant(lbl)
&& Oblig.Delta.(not_hole(of_effects(Effects.log^)))
// this is necessary when deleting delims to empty ghosts
&& !Token.is_empty(tok) =>
&& !Token.is_empty(tok)
// only delay expansion for tokens followed by caret (#126)
&& Option.(is_some(tok.marks) || is_some(next.marks.cursor)) =>
None
| _ => Some(remolded)
};
Expand Down

0 comments on commit 0e6e056

Please sign in to comment.