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

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

bug#29798: 24.3; Javascript: Too much indentation with + and -


From: Stefan Kangas
Subject: bug#29798: 24.3; Javascript: Too much indentation with + and -
Date: Mon, 10 Aug 2020 08:31:59 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

found 29798 28.0.50
thanks

Gavin Haynes <haynes.gt@gmail.com> writes:

> Write the following in a .js file: { -2, 2, +2 } Then, put your cursor
> over each line and press tab to indent it. The lines having -2 and +2
> get twice as much indentation as expected. The line having just 2 has
> the correct indentation.

I can reproduce this on current master.  I see the following
indentation:

{
-2,
    2,
 +2
}

Best regards,
Stefan Kangas





reply via email to

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