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

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

bug#61503: 29.0.60; js-ts-mode indent incorrect for multiline strings


From: Theodor Thornhill
Subject: bug#61503: 29.0.60; js-ts-mode indent incorrect for multiline strings
Date: Tue, 14 Feb 2023 20:56:55 +0100

Geoff Jacobsen <geoffjacobsen@gmail.com> writes:

> When a multiline (backquote) string is defined in a buffer, with
> major-mode js-ts-mode, the indent function incorrectly indents the
> contents of the string. It should not alter the contents of the string.
>
> Example:
>
> const a = {
>   b: `1
> 2
> 3
> `};
>
> is incorrectly changed to:
>
> const a = {
>   b: `1
>   2
>   3
> `};

Hi! Thanks for your report!

It should be fixed now on latest emacs-29 branch :-)

Theo





reply via email to

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