[TxMt] Re: "Scope" within a .tm_properties file?
Allan Odgaard
mailinglist at textmate.org
Tue Jan 3 22:17:09 UTC 2012
On 01/01/2012, at 20.59, Charles Turner wrote:
> […] it'd be great to say something like this:
>
> [ "cocoa/*" ]
> fileType = "source.forth"
>
> ["cocoa/*.{txt, prf}"]
> fileType = "text.plain"
Except for the whitespace errors in second section, it should work, i.e.:
[ "cocoa/*" ]
fileType = "source.forth"
[ "cocoa/*.{txt,prf}" ]
fileType = "text.plain"
You can however also do:
[ "!cocoa/*.*" ]
fileType = "source.forth"
That then targets only files without extension.
More information about the textmate
mailing list