[TxMt] Re: Question on .tm_properties

Rob McBroom mailinglist0 at skurfer.com
Wed Jul 6 17:31:42 UTC 2016


On 6 Jul 2016, at 11:08, Curt Sellmer wrote:

> I was playing around with the new 'theme' setting in ./.tm_properties.
>
> Given the file: ./webapp/WEB-INF/web.xml
>
> this works:
> [ "text.xml" ]
> theme = 71D40D9D-AE48-11D9-920A-000D93589AF6
>
> this does not:
> [ "*.xml" ]
> theme = 71D40D9D-AE48-11D9-920A-000D93589AF6

I wasn’t able to get it to work based on extension either, but I was 
happy to see scope selectors work as I’d rather do that way anyway. 
(Who wants to list every Markdown extension?)

For the sake of documenting things for others, I also found that 
whitespace matters.

For example, this will match both plain text and Markdown:

[ text.html.markdown,text.plain ]

This won’t:

[ text.html.markdown, text.plain ]

-- 
Rob McBroom
http://www.skurfer.com/


More information about the textmate mailing list