Presumably related to this, was having similar issues. My custom settings for file types for different folders seemed to be the problem. I have the following:

[ "templates/{**/,}*" attr.untitled ]
fileType             = 'text.html.mustache'

[ "js/{**/,}*" attr.untitled ]
fileType             = 'source.js'

[ "scss/{**/,}*" attr.untitled ]
fileType             = 'source.scss'

[ "css/{**/,}*" attr.untitled ]
fileType             = 'source.css'

[ attr.untitled ]
fileType             = 'text.html.php.ko2'

Which I'm pretty sure was working at some point. But now the last option in the list is the one it uses for a new file, and it was also being used for any PHP files that I opened (so I re-ordered to make it last).

On Mon, 11 Jul 2016 at 20:00 Koen Punt <koen@koenpunt.nl> wrote:
> OK, I assume the file has a <html> or <!DOCTYPE> tag on first line?

That's correct, and I can work around it by just not closing the file for now :)

Thanks!

Sent from Nylas N1, the extensible, open source mail client.
On Jul 11 2016, at 3:03 pm, Allan Odgaard <mailinglist@textmate.org> wrote:

On 11 Jul 2016, at 13:57, Koen Punt wrote:

> That gives me just a single result, see attachment.

OK, I assume the file has a <html> or <!DOCTYPE> tag on first line?

As a workaround you can edit the HTML grammar’s firstLineMatch (just
clear it), and I think your issue will be fixed, but I will make a
workaround for this in upcoming build.

_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate


_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate