Skip to content

Syntax highlighting breaks with new Tailwind v4 custom directives #8

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

Open
YvetteNikolov opened this issue Feb 25, 2025 · 0 comments
Open

Comments

@YvetteNikolov
Copy link

Hello!

Love using your extension, especially with Tailwind. In my case, I often need to write Tailwind classes in CSS.

After upgrading to Tailwind V4 I noticed that two custom directives break the syntax highlighting:

@variant
@utilities

Could you look into fixing this?

Thanks for the great work.

Image

Image

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