[TxMt] Re: Not remembering syntax for certain filetypes

Allan Odgaard mailinglist at textmate.org
Wed Jul 13 14:56:12 UTC 2016


On 13 Jul 2016, at 13:53, George McGinley Smith wrote:

> [ templates/** ]
> fileType = 'text.html.mustache'
>
> Only picks up for new files in subfolders […]

My bad. The problem here is that for untitled files, we match the file 
pattern against the folder, and while `**/` will matching “nothing” 
the `/**` pattern must have a literal slash followed by potential 
nothing.

I will change this so that we use the folder with a trailing slash in 
the match when there is no filename.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20160713/68d44b97/attachment.html>


More information about the textmate mailing list