[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65006: 29.1.50; c-ts-mode: else block not indented right on TAB
From: |
Eli Zaretskii |
Subject: |
bug#65006: 29.1.50; c-ts-mode: else block not indented right on TAB |
Date: |
Wed, 02 Aug 2023 14:32:53 +0300 |
> Date: Wed, 02 Aug 2023 08:13:08 +0530
> From: Mohammed Sadiq <sadiq@sadiqpk.org>
>
> The else block in the following code is not indented on TAB:
>
> int
> main (void)
> {
> if (true)
> do_something ();
> else
> do_something_else ();
> }
>
> How to reproduce:
> 1. Select the complete buffer
> 2. Press TAB
>
> Expected result:
> do_something_else() should be indented
>
> afair, this did seem to work in the past. May be this
> happened after I updated treesitter-c module, idk.
Thank you for your report.
Yuan, can you look into this, please?
- bug#65006: 29.1.50; c-ts-mode: else block not indented right on TAB, Mohammed Sadiq, 2023/08/01
- bug#65006: 29.1.50; c-ts-mode: else block not indented right on TAB,
Eli Zaretskii <=
- bug#65006: 29.1.50; c-ts-mode: else block not indented right on TAB, Yuan Fu, 2023/08/02
- bug#65006: 29.1.50; c-ts-mode: else block not indented right on TAB, Eli Zaretskii, 2023/08/02
- bug#65006: 29.1.50; c-ts-mode: else block not indented right on TAB, Yuan Fu, 2023/08/02
- bug#65006: 29.1.50; c-ts-mode: else block not indented right on TAB, Eli Zaretskii, 2023/08/03
- bug#65006: 29.1.50; c-ts-mode: else block not indented right on TAB, john muhl, 2023/08/08
- bug#65006: 29.1.50; c-ts-mode: else block not indented right on TAB, Eli Zaretskii, 2023/08/08
bug#65006: 29.1.50; c-ts-mode: else block not indented right on TAB, john muhl, 2023/08/02