[TxMt] Re: Ruby hash indentation bug?

Adam Strzelecki ono at java.pl
Tue Jan 3 17:03:24 UTC 2012


> Am I the only one experiencing this?  Any bright ideas?

Yes, there's little bug in Ruby indention settings, that does not take comment into consideration, go to: Edit Bundles… > Ruby > Settings > Indent and update:

decreaseIndentPattern = '^\s*([}\]]\s*(\#|$)|(end|rescue|ensure|else|elsif|when)\b)';

Cheers,
-- 
Adam


More information about the textmate mailing list