[TxMt] Bundle for Movable Type templates
Allan Odgaard
throw-away-1 at macromates.com
Sat Dec 3 10:50:39 UTC 2005
On 2/12/2005, at 18:08, Brad Choate wrote:
>> If the MT templates do not have their own extension [...]
> The language definition lists 'mtml' as an extension for MT
> templates and the file templates all have 'mtml' as their
> extension. Anything else?
ah… the problem is that the HTML grammar defines a first line match
on the DOCTYPE, which has precedence over extension-based language
association.
If however you manually switch to MT for a *.mtml file, it will bind
*.mtml files to your MT grammar, overriding the first line binding
from the HTML bundle.
More information about the textmate
mailing list