bug#60321: 29.0.60; ruby-mode indentation of hash or array as first arg in multiline method call

2024-09-02 Thread Aaron Jensen
Thank you, and thanks for your help. Aaron On Mon, Sep 2 2024 at 3:01 PM, Dmitry Gutov wrote: > On 02/09/2024 04:56, Aaron Jensen wrote: > > It seems to me that anything other than 0 spaces would look inconsistent > with the first element (the hash), and its closing brace i

bug#60321: 29.0.60; ruby-mode indentation of hash or array as first arg in multiline method call

2024-09-01 Thread Aaron Jensen
> It seems to me that anything other than 0 spaces would look inconsistent > with the first element (the hash), and its closing brace in particular. Yeah, that's my sense as well, even if it looks awful, but you get what you get. > >> * Support for the new option in ruby-ts-mode (it's good to hav

bug#60321: 29.0.60; ruby-mode indentation of hash or array as first arg in multiline method call

2024-09-01 Thread Aaron Jensen
On Sun, Sep 1, 2024 at 8:19 PM Dmitry Gutov wrote: > > On 01/09/2024 22:28, Aaron Jensen wrote: > > > Here's a corrected patch for that particular example. Thank you for > > finding that. I think I missed it because as long as you type the code > > in, it ind

bug#60321: 29.0.60; ruby-mode indentation of hash or array as first arg in multiline method call

2024-09-01 Thread Aaron Jensen
change the default. I wasn't sure if you wanted to change the defaults of all of the variables you added in the last round or just this one, so I'll let you handle that the way you want to. Thanks, Aaron On Sun, Sep 01, 2024 at 12:36 PM, Dmitry Gutov wrote: > Hi Aaron! > &g

bug#60321: 29.0.60; ruby-mode indentation of hash or array as first arg in multiline method call

2024-08-31 Thread Aaron Jensen
Updated patch with more precise variables in the new test. Aaron On Sat, Aug 31, 2024 at 7:41 PM, Aaron Jensen wrote: > I made an attempt at this (attached). It introduces a new variable: > > ruby-bracketed-args-indent > > It is set to t by default and the behavior will be a

bug#60321: 29.0.60; ruby-mode indentation of hash or array as first arg in multiline method call

2024-08-31 Thread Aaron Jensen
r code this way that they likely have rather idiosyncratic formatting requirements and they would be best left to do what they want manually. Thanks, Aaron On Mon, Dec 26, 2022 at 8:38 PM, Aaron Jensen wrote: > On Mon, Dec 26, 2022 at 8:16 PM Dmitry Gutov wrote: > > Vim's choice l