[TxMt] Can a bundle inherit language from another bundle?
Charilaos Skiadas
cskiadas at gmail.com
Sun Mar 2 21:48:39 UTC 2008
On Mar 2, 2008, at 4:36 PM, Mike M wrote:
> I am trying to create a Shoes bundle. For those who don't know
> shoes, it is a GUI framework for Ruby. I'd like the bundle to use
> the ruby bundle's text highlighting, folding scheme, etc. I can
> (and currently have) copied the language into the new bundle, but
> can I somehow inherit the language from the ruby bundle? Thanks.
I would personally find it kind of uncomfortable to have Ruby in my
shoes (sorry, couldn't resist), but have a look at section 12.3 in
the manual:
http://macromates.com/textmate/manual/
language_grammars#language_grammars
specifically the entry for the "include" key rule.
Though I think this will not cover folding, you'll have to copy those
manually from the Ruby bundle.
> Mike
Haris Skiadas
Department of Mathematics and Computer Science
Hanover College
More information about the textmate
mailing list