On 25/01/2023 02:45, Aaron Jensen wrote:
Is it enough of an improvement?
That seems to make indentation after an open def not happen:
def foo
bar
end
Not sure what you mean. Is that an example with an "open def"? "end"
seems to be closing it. In the final state, it indents correctly here.
Sorry, that's what I meant. If I do type exactly that and do not
reindent, I end up with that though (closing with the end does not
cause the previous line to reindent)
All right.
But if the proposed patch doesn't make things worse for this example, we
might as well install it. Because this "unclosed def" case is distinct
from the one you filed this bug report regarding.