<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">On 13 Jul 2016, at 13:53, George McGinley Smith wrote:</p>
<p dir="auto"></p></div>
<div style="white-space:pre-wrap"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><div dir="auto">[ templates/** ]
</div><div dir="auto">fileType = 'text.html.mustache'
</div><div dir="auto">
</div><div dir="auto">Only picks up for new files in subfolders […]
</div></blockquote></div>
<div style="white-space:normal">
<p dir="auto">My bad. The problem here is that for untitled files, we match the file pattern against the folder, and while <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">**/</code> will matching “nothing” the <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">/**</code> pattern must have a literal slash followed by potential nothing.</p>
<p dir="auto">I will change this so that we use the folder with a trailing slash in the match when there is no filename.</p>
</div>
</div>
</body>
</html>