开发者

How to make Textmate detect code after the filter :coffeescript?

Using the Haml :javascript filter, the code following the filter is accurately detected as javascript. This isn't happening with the :coffeescript filter. How do I make Textmate recognize this code as coffeescript开发者_JAVA百科? (I already have the coffeescript bundle installed.)


You would need to edit the HAML bundle syntaxes to do that, probably just by copying the JavaScript language delimiter and modifying it to work with Coffeescript.

http://wiki.macromates.com/Main/Bundles

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜