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

New SCSS module system not highlighting correctly #451

Closed
jinsupark opened this issue Feb 21, 2021 · 0 comments
Closed

New SCSS module system not highlighting correctly #451

jinsupark opened this issue Feb 21, 2021 · 0 comments
Labels
help wanted lexer bug Highlighting error in a lexer

Comments

@jinsupark
Copy link

jinsupark commented Feb 21, 2021

SCSS language has introduced many new features recently. The new module system @use doesn't highlight with configs correctly.

For example, the following example renders correctly using prism.js:

image

However, in chroma the key/value pairs are being recognized as chroma .nt and are not able to be colored separately:

image

Also the $ symbol in front of the word config is being recognized by chroma as an error .chroma .err

@alecthomas alecthomas added help wanted lexer bug Highlighting error in a lexer labels Feb 21, 2021
CIAvash added a commit to CIAvash/chroma that referenced this issue Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted lexer bug Highlighting error in a lexer
Projects
None yet
Development

No branches or pull requests

2 participants