I'm just starting to create my own color scheme for ST2 and I've come up against a slight problem. For markup languages I'm trying to color the attribute differently to the tag. Which I've done like this ...

However for something like <table class="someClass"> this colors the "=" equals sign the same color as the tag name and I'd like it to either be a different color altogether or the same color as the attribute.

Is there anyway I can set the color the equals sign specifically or make the same as the attribute and attribute value?

and col 13 is what we want to highlight. As you can see, it is the shortest scope so you could address "meta.tag" directly and let the other tags override it (foreground color only!) This introduces a problem with the "punctuation" angle brackets because they don't have another color assigned to them which leaves them with the same color as the "=".

Solution: Do an opt-out selector. Using a selector like `meta.tag - (entity, punctuation, string)` we have essentially eliminated all the fuss about highlighting stuff we don't want to highlight and are only left with our "=" and whitespaces (only visible when modifying the background color). And it will also highlight everything unquoted because the syntax definition does not take care of them (e.g. "<a height=12>") but still, works fine most of the time.