On 6 December 2015 at 14:23, Carpii UK <carpii.uk@gmail.com> wrote:
> When editing a bundle, you can set the file types which this bundle should
> apply to by default
>
> Is there any way I am able to include file masks in this, or does it just
> work on file extension?
>
> For example, I have *.js files which obviously default to Javascript
> My Smarty bundle is set to handle all *.tpl files
>
> But now I want to override this by treating "js_*.tpl" files as Javascript
> also
>
A declaration like
[ js_*.tpl ]
fileType = source.js
in your tm_properties should do the trick.
Hope that helps,
Martin
_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate