-
Notifications
You must be signed in to change notification settings - Fork 9
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
Looks like this breaks the parser #10
Comments
@willt , this is a known issue.. the parser doesn't behave properly for all the I'm currently fixing it since users are requesting. Expect it to be fixed by this week. Or you could use the delimiters I have mentioned above in the meantime. |
awesome. I will look forward to the fix.
…On Tue, Oct 12, 2021 at 3:58 AM Ganesan ***@***.***> wrote:
@willt <https://github.com/willt> , this is a known issue.. the parser
doesn't behave properly for all the quote like operators in perl with
deliimiters other than, {, /, [, '
I'm currently fixing it since users are requesting. Expect it to be fixed
by this week. Or you could use the delimiters I have mentioned above in the
meantime.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACTAMCCM7U3RK524HYAKITUGQIFLANCNFSM5FZES2MA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Any news on this? Is it fixed? Similar issue when my code contains something like:
|
@DavidEGx , in recent commits, I have fixed it for |
@marcelarie , I'm still working on the s/// and tr// syntaxes with other identifiers. Currently it should work with And let me checkout why that subname is highlighted differently and get back |
I have publish version 0.3.0 . This should parse all these syntax properly. Let me know otherwise. :) |
Amazing, thanks @ganezdragon!! I will test it at work tomorrow. |
Thanks for the work. This one seems to break it currently:
Also this one:
As far as I know I'm using the last version (run |
okay, I see the But the latter with just |
Another one:
See: BTW, shall I create separate separate github issues for any separate new problem I find? |
yea we could create separate issues, as a fallout of 0.3.0 version maybe, to better keep on track. |
@DavidEGx , I'm not sure if your last snippet is syntactically correct. When I compile the code I get the following,
|
@ganezdragon forgot to inherit from Catalyst::Controller in the example. Fixed version:
Same syntax highlighting issue. |
I just installed tree-sitter and this tree-sitter-perl grammar file. I'm using latest neovim with the gurvbox colorscheme.
The image on the left is with tree-sitter highlighting on and the one on the right is with it off.
Looks like the parser breaks if qw/ /; contains a question mark.
The text was updated successfully, but these errors were encountered: