<div dir="ltr">Awesome, this works great<div><br></div><div>Thankyou!</div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On 6 December 2015 at 14:07, Martin Kühl <span dir="ltr"><<a href="mailto:martin.kuehl@gmail.com" target="_blank">martin.kuehl@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 6 December 2015 at 14:23, Carpii UK <<a href="mailto:carpii.uk@gmail.com">carpii.uk@gmail.com</a>> wrote:<br>
> When editing a bundle, you can set the file types which this bundle should<br>
> apply to by default<br>
><br>
> Is there any way I am able to include file masks in this, or does it just<br>
> work on file extension?<br>
><br>
> For example, I have *.js files which obviously default to Javascript<br>
> My Smarty bundle is set to handle all *.tpl files<br>
><br>
> But now I want to override this by treating "js_*.tpl" files as Javascript<br>
> also<br>
><br>
<br>
</span>A declaration like<br>
<br>
[ js_*.tpl ]<br>
fileType = source.js<br>
<br>
in your tm_properties should do the trick.<br>
<br>
Hope that helps,<br>
Martin<br>
<br>
_______________________________________________<br>
textmate mailing list<br>
<a href="mailto:textmate@lists.macromates.com">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><br>
</blockquote></div><br></div></div></div>