On 5/4/2006, at 2:42, Trevor Harmon wrote:
Interesting; that works, but only if I put it in the XML bundle. If I try to put the QEL language definition into its own bundle, then TextMate starts thinking all XML files are QEL files. (Is this a bug or a feature?)
The placement of the language grammar should have no effect on what TM thinks about files. The TM_MODE environment variable is set to the bundles name, but this variable is deprecated, and likely this is not what you refer to.
However, if QEL files and XML files have the same extension, TM will treat them as either the one or the other, it can’t spot the difference (unless you use the firstLineMAtch).
Also, include='text.xml' only seems to work for the patterns field. I find that I have to cut-and-paste the XML definitions of folding*Marker, firstLineMatch_disabled, and repository into the QEL language definition, instead of just including them. Or am I missing something? Thanks,
That is correct.