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 jumping to next/prev paren/brace from a string is not working #1849

Merged
merged 2 commits into from
Dec 15, 2023

Conversation

mihaicristiantanase
Copy link
Contributor

Example of test:

{
  fun(a, "T[]est", test());
}

With cursor at [], the commands ]), [(, ]} or [{ don't do anything.

This pull request fixes the problem.

Example of test:
{
  fun(a, "T[]est", test());
}

With cursor at [], the commands ]), [(, ]} or [{ don't do anything.
@tomdl89
Copy link
Member

tomdl89 commented Dec 15, 2023

Yeah, I've noticed this before, and never thought to fix it! Thanks @mihaicristiantanase . Can you add tests please? I can if you'd rather, but may take a while to get to it.

@mihaicristiantanase
Copy link
Contributor Author

Sure, I'll add some tests.

@mihaicristiantanase
Copy link
Contributor Author

It's done.
And with this, I've just found that there are unit tests in the project :)

@tomdl89
Copy link
Member

tomdl89 commented Dec 15, 2023

Excellent tests! Thanks very much 🙏

@tomdl89 tomdl89 merged commit eced308 into emacs-evil:master Dec 15, 2023
4 checks passed
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