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

Fix LESS syntax highlighting #5499

Open
stevepiercy opened this issue Dec 6, 2023 · 0 comments
Open

Fix LESS syntax highlighting #5499

stevepiercy opened this issue Dec 6, 2023 · 0 comments

Comments

@stevepiercy
Copy link
Collaborator

With the following code sample, where an @import statement is placed within a selector:

.loadThemeFonts() {
  @import "./typography.css";
}

...the Pygments LESS lexer marks it as invalid. Whereas in the Less Sandbox there is no error.

I reported the issue in Pygments pygments/pygments#2606, with a possible fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

1 participant