madskristensen / TextmateSample

A Visual Studio sample extension
Other
10 stars 4 forks source link

Extending existing language #1

Open johnwc opened 3 months ago

johnwc commented 3 months ago

How do we create a bundle that would extend an existing language bundle? Ex. Let's say I want to add textmate grammar rules to highlight a html element's attribute named jc as in <div class="..." jc="..." ..., the jc in this case to be highlighted. How do I extend html grammar bundle?

johnwc commented 3 months ago

@madskristensen any thoughts how to do such a thing?