[SVN] r7091 (Ruby)

Allan Odgaard throw-away-1 at macromates.com
Mon Apr 30 08:13:04 UTC 2007


• if, unless, etc. would not be interpreted as predicates when preceded by & or similar punctuation, which is correct when we e.g. have:

    a = b && if str =~ /«regexp»/

But not when we have:

    a = $& if str =~ /«regexp»/

So now the rule will ensure that there is no $ before the & (for it to be a regular if/unless, which increases the indent)

Changed:
U   trunk/Bundles/Ruby.tmbundle/Preferences/Miscellaneous.plist



More information about the textmate-dev mailing list