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

Tailwind CSS: support class names with :, [], and / #83

Open
bradgessler opened this issue Feb 24, 2022 · 5 comments
Open

Tailwind CSS: support class names with :, [], and / #83

bradgessler opened this issue Feb 24, 2022 · 5 comments

Comments

@bradgessler
Copy link

When using Tailwind CSS classnames that contain :, [], and /, like below, are not highlighted as classnames:

Screen Shot 2022-02-24 at 09 51 29

Screen Shot 2022-02-24 at 09 53 43

Screen Shot 2022-02-24 at 09 55 52

@bradgessler
Copy link
Author

bradgessler commented Feb 24, 2022

The fork at bsboris@4c506cb adds support for the characters mentioned above, with the exception of the [] characters.

Screen Shot 2022-02-24 at 10 10 27

Works otherwise:

Screen Shot 2022-02-24 at 10 11 01

@bradgessler
Copy link
Author

Enhancement: make the CSS classes that attach directly to the entity highlight in a different color than the entity tag and the attributes.

@bradgessler
Copy link
Author

FYI @bsboris if you're still hacking on the tmBundle. Looks like you've recently been in there :-)

@deathaxe
Copy link

This issue is fixed in Slim 2.0.

Slim 2.0 for ST4 has been released at Package Control, with source moved to https://github.com/SublimeText/Slim.

grafik

@bradgessler
Copy link
Author

Thank you @deathaxe! 🙏

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