[TxMt] ruby bundle patch for magic heredoc tokens

Amiel Martin amiel.martin at gmail.com
Thu Feb 19 18:28:06 UTC 2009


1. switched the following languages to use a magic heredoc token instead of
a comment
2. there was one way to trigger ruby scope, by have a heredoc token of
*_EVAL
     now, there are two options:
       a. foobar = <<-RUBY
       b. eval <<-FOOBAR # works with eval, module_eval and class_eval

TODO:
 * support <<-'HEREDOC' or <<-"HEREDOC" syntax for magic tokens for embedded
languages
 * support <<HEREDOC magic tokens for embedded languages

patch is attached, and can be found here: http://pastie.org/394164
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20090219/81fb264c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby.patch
Type: application/octet-stream
Size: 11766 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20090219/81fb264c/attachment.patch>


More information about the textmate mailing list