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

Gets very confused about s(){}e substitution #13

Open
leonerd opened this issue Mar 1, 2022 · 0 comments
Open

Gets very confused about s(){}e substitution #13

leonerd opened this issue Mar 1, 2022 · 0 comments
Labels
Hrm? I guess I see how that was missed?

Comments

@leonerd
Copy link
Owner

leonerd commented Mar 1, 2022

If the substitution delimiters don't match between pattern and replacement, it gets very confused and thinks the rest of the file is just plain text:

perl-treesitter-subst-code

If however you make them match (e.g. by using {} in both), it copes fine:

perl-treesitter-subst-code-OK

@rabbiveesh rabbiveesh added the Hrm? I guess I see how that was missed? label Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hrm? I guess I see how that was missed?
Projects
None yet
Development

No branches or pull requests

2 participants