|
From: | Dmitry Gutov |
Subject: | bug#54702: 29.0.50; ruby-mode indentation: endless methods |
Date: | Fri, 16 Dec 2022 18:15:36 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 |
On 16/12/2022 15:12, Aaron Jensen wrote:
On Fri, Dec 16, 2022 at 7:31 AM Dmitry Gutov <dgutov@yandex.ru> wrote:Right, thanks. See the attached updated patch.That works. I found another inconsistency related to the other issue I just opened: def foo( baz, bar ) = what def foo( baz, bar ) hello end I don't know who is savage enough to do a multi-line endless method like that, but when it's done the closing paren should probably be consistent w/ the regular method closing paren.
Thank you, savage indeed. Okay, here's an alternative version -- this was a pain to implement.Would be much easier if we just decided to change the args indentation without support for the current one.
ruby-endless-methods-v2.diff
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |