Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
delete_char_backward
for paired characters (helix-editor#4558)
When backward-deleting a character, if this character and the following character form a Pair, we want to delete both. However, there is a bug that deletes both characters also if both characters are closers of some Pair. This commit fixes that by adding an additional check that the deleted character should be an opener in a Pair. Closes helix-editor#4544.
- Loading branch information