[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#60496: 29.0.60; c-ts-mode: Broken indentation with linux style cond
From: |
Yuan Fu |
Subject: |
bug#60496: 29.0.60; c-ts-mode: Broken indentation with linux style conditionals |
Date: |
Mon, 2 Jan 2023 14:29:02 -0800 |
Mohammed Sadiq <sadiq@sadiqpk.org> writes:
> Indentation of the following C code with linux style is broken:
>
> int main (void)
> {
> if (a) {
> func_a ();
> } else if (b) {
> func_b ();
> } else {
> func_c ();
> }
> }
>
Thanks. I’m not familiar with the linux style, is the problem with the
closing brackets? Could you give me a correct example so I know exactly
what’s wrong?
Yuan