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

Multiline comments and certain strings broken #35

Open
Sharparam opened this issue Dec 9, 2018 · 0 comments
Open

Multiline comments and certain strings broken #35

Sharparam opened this issue Dec 9, 2018 · 0 comments

Comments

@Sharparam
Copy link

Multiline comments in the #`( comment ) style only have their first line marked as an actual comment, and the rest is incorrectly detected as code. Multine comments using =begin comment and =end comment work better but seem to have some odd behaviour as well (the comment in =end comment is in white while the rest is green with my theme).

Strings in certain places are not detected properly.

Issues as seen in this screenshot:

Image of syntax issues

Atom on the left, VS Code on the right. Atom has the same issues except when using the language-perl6 package (which is being used in the above screenshot). VS Code on the right is only using the syntax files from this repo.

I don't know what langauge-perl6 for Atom does to get it correct, but perhaps someone more familiar with syntax files/grammar can investigate that.

Interestingly, if the space in .split(', ') is removed, the syntax highlight seems to work better, except the string in .split(',') is highlighted in white with my VS Code theme. Regular strings in that theme are highlighted in red.

Additionally, is this repo even maintained anymore? VS Code relies solely on this repo for syntax highlighting and it's been broken for Perl 6 for a long time now.

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

1 participant