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: fixes for emphasis obj #66

Merged
merged 2 commits into from
Jan 4, 2024

Conversation

stevenxxiu
Copy link
Contributor

Checklist

  • Used only camelCase variable names.
  • If functionality is added or modified, also made respective changes to the readme.
  • Used conventional commits keywords.

This PR stops matching spaces at the start or end of the content string. It stops selecting the middle part * * in the following case:

*a* *b*

The other commit also applies to M.anyQuote().

With the document with the cursor at the end, press yiq. Then an extra character l gets written.

foo|

@stevenxxiu stevenxxiu changed the title Fixes for emphasis obj fix: fixes for emphasis obj Jan 4, 2024
@chrisgrieser
Copy link
Owner

thx.

Btw, if you regularly make PRs, you might wanna setup stylua, so the formatting is consistent with the rest of the plugin. (not gonna hold up your PRs due to this, but it's easier in the long run)

@chrisgrieser chrisgrieser merged commit 0224c4a into chrisgrieser:main Jan 4, 2024
1 of 3 checks passed
@stevenxxiu stevenxxiu deleted the fix/emphasis-obj branch January 4, 2024 11:38
@stevenxxiu
Copy link
Contributor Author

stevenxxiu commented Jan 6, 2024

Good idea, thanks.

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.

2 participants