<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On 04/01/2012, at 4:03 AM, Adam Strzelecki wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>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:<br><br>decreaseIndentPattern = '^\s*([}\]]\s*(\#|$)|(end|rescue|ensure|else|elsif|when)\b)';<br></div></blockquote><div><br></div><div>Thanks Adam! That almost did the trick.  I actually changed it to:</div><div><br></div></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div>^\s*([}\]]|(end|rescue|ensure|else|elsif|when)\b)</div></div></blockquote><div><div><br></div><div>so that anything after the close-brace is ignored.  Otherwise, the nested-hash example indents badly (due to a comma after the close-brace).</div><div><br></div></div><div>-- <br>cheers, <br>Mike Williams<br></div><br></body></html>