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

Matching string and char delimeters #331

Open
leg7 opened this issue Nov 22, 2023 · 2 comments
Open

Matching string and char delimeters #331

leg7 opened this issue Nov 22, 2023 · 2 comments

Comments

@leg7
Copy link

leg7 commented Nov 22, 2023

I always found it jarring that vims '%' operator wouldn't match the next closing " or ' for strings/chars. I was looking for a plugin that implemented this and found this one but alas it doesn't implement it either. I've seen you can implement your own matches with this plugin but wouldn't including this as default make more sense because it is such a wide idiom. I don't know of any language that doesn't use " or ' to enclose strings/chars.

@andymass
Copy link
Owner

andymass commented Nov 22, 2023 via email

@leg7
Copy link
Author

leg7 commented Nov 24, 2023

I use neovim but vim plugins should work just fine.

But coming back to my original question do you think it would make sense for ' and " to be matched by the % operator?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants