bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#60186: 29.0.60; ruby-mode indentation of multi-line expressions


From: Dmitry Gutov
Subject: bug#60186: 29.0.60; ruby-mode indentation of multi-line expressions
Date: Tue, 20 Dec 2022 19:31:31 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 20/12/2022 18:19, Dmitry Gutov wrote:
Okay, so there should be two basic cases:

- Indent to the beginning of the statement,
- If there was a line continuation (no matter how many), indent 1 extra level?

Here's another quick attempt to make this work without rewriting the rest of the logic.

Cases 1 and 2 seem to work now, but not the block example.

Attachment: ruby-simplified-indent-v2.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]