Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(horizontal_motions): handle quoted strings in word boundaries (#68)
* fix(horizontal_motions): handle quoted strings in word boundaries This commit improves the handling of quoted strings in word boundaries. The `end_of_word` function now correctly identifies the end of a word when the next word starts with punctuation or is a single character. A new test case has been added to verify this behavior. * fix(horizontal_motions): handle punctuation in end_of_word This commit modifies the `end_of_word` function in `horizontal_motions.lua` to handle cases where the next word starts with punctuation. This change ensures that the function correctly identifies the end of a word in such scenarios. Corresponding tests have been added in `horizontal_motions_spec.lua` to verify this behavior.
- Loading branch information