[TxMt] Re: Ruby hash indentation bug?

Michael Sheets mummer at whitefalls.org
Thu Jan 5 06:06:42 UTC 2012


On Jan 3, 2012, at 11:03 AM, Adam Strzelecki wrote:

> 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)';

Thanks for the patch, just committed this change as well as supporting nested hashes.


More information about the textmate mailing list