[ templates/** ]
fileType = 'text.html.mustache'Only picks up for new files in subfolders. I have to do:[ "templates{/**,}" ]
fileType = 'text.html.mustache'To make it work as desired. But yes, having the :attr.untitled syntax would be perfect for what I'm trying to achieve.On 13 Jul 2016, at 9:47, George McGinley Smith wrote:
[…] I have the following:[ "templates/{**/,}*" attr.untitled ]fileType = 'text.html.mustache'This syntax should never have worked.
You need to either put a
.tm_propertiesin each subfolder (templates, js, scss, and css) which has:[ attr.untitled ] fileType = «file type»Or if you don’t mind targeting all files in each subfolder, you can leave out the
attr.untitled, e.g.:[ templates/** ] fileType = 'text.html.mustache'That said, it does seem like it would be nice to target both a file pattern and a scope selector, could possibly be done with
:as separator, e.g.:[ templates/**:attr.untitled ] fileType = 'text.html.mustache'I will consider such extension for a future update.
P.S. The
{**,}/*syntax is redundant and**should match the same (though this might not have been the case in earlier versions of TextMate’s file pattern matcher).
_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate