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

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

bug#61398: 29.0.60; c-ts-mode: '}' indented wrong if '{' pair is in lin


From: Yuan Fu
Subject: bug#61398: 29.0.60; c-ts-mode: '}' indented wrong if '{' pair is in line with '='
Date: Sun, 12 Feb 2023 00:22:36 -0800

Mohammed Sadiq <sadiq@sadiqpk.org> writes:

> The closing '};' is indented wrong in the following array definition:
>
> const char *emoticons[][2] = {
>   {":)", "🙂"},
>   {";)", "😉"},
>   {":(", "🙁"},
>   };
>
> The expected indentation:
>
> const char *emoticons[][2] = {
>   {":)", "🙂"},
>   {";)", "😉"},
>   {":(", "🙁"},
> };

I see, this problem is due to priorities between indentations rules.
Should be easy to fix.

Yuan





reply via email to

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