[SVN] Revision 1086 (Ruby)

Chris Thomas chris at cjack.com
Fri May 27 04:27:37 UTC 2005


The heredoc support in the Ruby syntax file already works with b10. Here is support for some embedded languages in heredocs. Experimental, needs work.

The basic idea is that you have a comment indicating language:
source_code_file = <<END # sh
//..
END

I considered using #! on the next line for shell, but it's not always desirable to have a shbang line, since heredocs can be fragments.

Changed:
U   trunk/Bundles/Ruby.tmbundle/Syntaxes/Ruby.plist



More information about the textmate-dev mailing list