Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(horizontal_motions): handle quoted strings in word boundaries #68

Merged
merged 2 commits into from
Jun 14, 2024

Conversation

tris203
Copy link
Owner

@tris203 tris203 commented Jun 13, 2024

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.

closes #67

tris203 added 2 commits June 13, 2024 16:06
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.
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.
@tris203 tris203 merged commit 7a76d43 into main Jun 14, 2024
10 checks passed
@tris203 tris203 deleted the issue67 branch June 14, 2024 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong hint for "e" motion
1 participant