<div dir="ltr">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:<div><br></div><div><div><font face="monospace">[ "templates/{**/,}*" attr.untitled ]</font></div><div><font face="monospace">fileType = 'text.html.mustache'</font></div><div><font face="monospace"><br></font></div><div><font face="monospace">[ "js/{**/,}*" attr.untitled ]</font></div><div><font face="monospace">fileType = 'source.js'</font></div><div><font face="monospace"><br></font></div><div><font face="monospace">[ "scss/{**/,}*" attr.untitled ]</font></div><div><font face="monospace">fileType = 'source.scss'</font></div><div><font face="monospace"><br></font></div><div><font face="monospace">[ "css/{**/,}*" attr.untitled ]</font></div><div><font face="monospace">fileType = 'source.css'</font></div><div><font face="monospace"><br></font></div><div><font face="monospace">[ attr.untitled ]</font></div><div><font face="monospace">fileType = 'text.html.php.ko2'</font></div><div><br></div><div>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).</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, 11 Jul 2016 at 20:00 Koen Punt <<a href="mailto:koen@koenpunt.nl">koen@koenpunt.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>> OK, I assume the file has a <html> or <!DOCTYPE> tag on first line?</div><div><div><div><br></div><div>That's correct, and I can work around it by just not closing the file for now :)</div><div><br></div><div>Thanks!</div></div></div><div><div><br>Sent from <a href="https://link.nylas.com/link/33wd9n5m5l3cdcz4d1oikbwcz/local-9d1c2e76-2c54/0?redirect=https%3A%2F%2Fnylas.com%2Fn1%3Fref%3Dn1&r=dGV4dG1hdGVAbGlzdHMubWFjcm9tYXRlcy5jb20=" target="_blank">Nylas N1</a>, the extensible, open source mail client.<br></div></div><div><div></div><img width="0" height="0" style="border:0;width:0;min-height:0" src="https://link.nylas.com/open/33wd9n5m5l3cdcz4d1oikbwcz/local-9d1c2e76-2c54?r=dGV4dG1hdGVAbGlzdHMubWFjcm9tYXRlcy5jb20="></div><div><div class="gmail_quote">
On Jul 11 2016, at 3:03 pm, Allan Odgaard <<a href="mailto:mailinglist@textmate.org" target="_blank">mailinglist@textmate.org</a>> wrote:
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p>On 11 Jul 2016, at 13:57, Koen Punt wrote:</p>
<p>> That gives me just a single result, see attachment.</p>
<p>OK, I assume the file has a <html> or <!DOCTYPE> tag on first line?</p>
<p>As a workaround you can edit the HTML grammar’s firstLineMatch (just <br>clear it), and I think your issue will be fixed, but I will make a <br>workaround for this in upcoming build.</p>
<p>_______________________________________________<br>textmate mailing list<br><a href="mailto:textmate@lists.macromates.com" target="_blank">textmate@lists.macromates.com</a><br><a href="http://lists.macromates.com/listinfo/textmate&r=dGV4dG1hdGVAbGlzdHMubWFjcm9tYXRlcy5jb20=" target="_blank">http://lists.macromates.com/listinfo/textmate</a></p>
</blockquote>
</div></div><br>
_______________________________________________<br>
textmate mailing list<br>
<a href="mailto:textmate@lists.macromates.com" target="_blank">textmate@lists.macromates.com</a><br>
<a href="http://lists.macromates.com/listinfo/textmate" rel="noreferrer" target="_blank">http://lists.macromates.com/listinfo/textmate</a></blockquote></div></div>