i think Orlmente’s answer is good
and i am trying XD
(
i already try to use Syntax Definitions
it’s work !!
but … sublime-text-unofficial-documen … xdefs.html
Additionally, Sublime Text also understands the hidden-tmLanguage extension,
which can not be selected by the user but only by set by plugins.
“Find in Files” makes use of this.
The downsite is that these can not be included by import statements in other language definitions.
)
====================================
i had edit the Packages\HTML file and fix the color
Color Scheme need match Scope
you can install
ScopeAlways or ScopeHunter (use Package Control)
====================================
Color Scheme you need add a dict
when sublime find the Scope , sublime will follow your setting
<dict>
<key>name</key>
<string>you can input a name , like HTML Tag Table</string>
<key>scope</key>
<string>you can setting a Scope , like meta.tag.table.html</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string></string>
<key>foreground</key>
<string>#009999</string>
</dict>
</dict>
====================================
but … sublime Scope about HTML tag
default 2
meta.tag.block.any.html
meta.tag.inline.any.html
so you need add new Scope “Packages\HTML\HTML.tmLanguage”
<dict>
<key>begin</key>
<string>(</?)((?i:table|thead|tbody|tfoot|tr|th|td)\b)</string>
<key>beginCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.tag.table.begin.html</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>entity.name.tag.table.html</string>
</dict>
</dict>
<key>end</key>
<string>(>)</string>
<key>endCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.tag.table.end.html</string>
</dict>
</dict>
<key>name</key>
<string>meta.tag.table.html</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>#tag-stuff</string>
</dict>
</array>
</dict>
http://114.34.79.88/2013-11-15_232052.jpg
sorry my english not good
i hope you can understand