[SVN] Adding ZPT scope to the HTML Bundle ok?
Charilaos Skiadas
skiadas at hanover.edu
Mon Feb 5 15:09:19 UTC 2007
On Feb 5, 2007, at 9:58 AM, Tom Lazar wrote:
> yes, in fact i include both, but depending on in which order, i
> either get one or the other to work... strange
not strange at all, since they match pretty similar things, and
whoever gets there first matches first, not leaving the other a chance.
But since your syntax is not true html, you should probably not
include the text.html grammar. Naming your grammar as you have now
should be sufficient for most html commands and snippets to work,
since they just look for a scope selector of text.html, and your
grammar's top level scope contains that.
To put it simply, don't confuse scope selectors and rules. They are
related, but not the same.
Haris
More information about the textmate-dev
mailing list