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

FR: Support for lua and vimscript patterns #23

Open
chrisgrieser opened this issue Dec 13, 2022 · 2 comments
Open

FR: Support for lua and vimscript patterns #23

chrisgrieser opened this issue Dec 13, 2022 · 2 comments

Comments

@chrisgrieser
Copy link

Support for other forms of regex would be awesome – especially since as a nvim-user, you have to know vimscript patterns, lua patterns, and most likely js regex, it sometimes gets a bit confusing.

For lua patterns, I know there is this repo which visualizes lua patterns quite decently, maybe you could make use of that? https://github.com/GitSparTV/lua-patterns

@bennypowers
Copy link
Owner

It's a great idea. I think it should be based on treesitter grammars

Lua patterns in particular would be more complicated to implement, because they don't share a grammar with regexp, and because lua is quite dynamic

@dsully
Copy link

dsully commented Sep 25, 2023

+1 for Lua regexes

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

No branches or pull requests

3 participants