ruby-slim.tmbundle
ruby-slim.tmbundle copied to clipboard
Tailwind CSS: support class names with `:`, `[]`, and `/`
When using Tailwind CSS classnames that contain :
, []
, and /
, like below, are not highlighted as classnames:



The fork at https://github.com/bsboris/ruby-slim.tmbundle/commit/4c506cb6d5584635e6114443b46e7399d933e292 adds support for the characters mentioned above, with the exception of the []
characters.

Works otherwise:

Enhancement: make the CSS classes that attach directly to the entity highlight in a different color than the entity tag and the attributes.
FYI @bsboris if you're still hacking on the tmBundle. Looks like you've recently been in there :-)
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.
Thank you @deathaxe! 🙏