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

escaped strings break syntax higlighting #4

Open
Tweekazoid opened this issue Nov 7, 2024 · 1 comment
Open

escaped strings break syntax higlighting #4

Tweekazoid opened this issue Nov 7, 2024 · 1 comment

Comments

@Tweekazoid
Copy link

image

this will break highlighting >>> """

@hybridherbst
Copy link

Just wanted to post the same issue!

It seems that the plugin thinks that strings are python-style escaped:
image
this is invalid USD but appears as correct syntax

when actually they are backslash-escaped:
image
this is valid USD but appears as incorrect syntax / breaks highlighting

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

2 participants