[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#61502: 29.0.60; c-ts-mode auto-indent not working
From: |
Eli Zaretskii |
Subject: |
bug#61502: 29.0.60; c-ts-mode auto-indent not working |
Date: |
Wed, 15 Feb 2023 14:24:51 +0200 |
> From: Theodor Thornhill <theo@thornhill.no>
> Cc: pankaj@codeisgreat.org, casouri@gmail.com, 61502@debbugs.gnu.org
> Date: Tue, 14 Feb 2023 21:21:33 +0100
>
> int
> main
> {
> for (;;)|
> ```
>
> Now type RET
>
> ```
> int
> main
> {
> for (;;)
> |
> ```
>
> Now type {
>
> ```
> int
> main
> {
> for (;;)
> {|
> ```
>
> Now type RET
>
> ```
> int
> main
> {
> for (;;)
> {
> |
> ```
>
> Which is what I consider a little confusing. We get different
> indentation with and without the closed scope.
Any idea why it doesn't choose the 'for' node? That's what a naïve
user would expect, I think.
- bug#61502: 29.0.60; c-ts-mode auto-indent not working, Pankaj Jangid, 2023/02/13
- bug#61502: 29.0.60; c-ts-mode auto-indent not working, Eli Zaretskii, 2023/02/14
- bug#61502: 29.0.60; c-ts-mode auto-indent not working, Theodor Thornhill, 2023/02/14
- bug#61502: 29.0.60; c-ts-mode auto-indent not working, Eli Zaretskii, 2023/02/14
- bug#61502: 29.0.60; c-ts-mode auto-indent not working, Theodor Thornhill, 2023/02/14
- bug#61502: 29.0.60; c-ts-mode auto-indent not working,
Eli Zaretskii <=
- bug#61502: 29.0.60; c-ts-mode auto-indent not working, Theodor Thornhill, 2023/02/15
- bug#61502: 29.0.60; c-ts-mode auto-indent not working, Dmitry Gutov, 2023/02/15
- bug#61502: 29.0.60; c-ts-mode auto-indent not working, Eli Zaretskii, 2023/02/15
- bug#61502: 29.0.60; c-ts-mode auto-indent not working, Theodor Thornhill, 2023/02/15
- bug#61502: 29.0.60; c-ts-mode auto-indent not working, Eli Zaretskii, 2023/02/15
- bug#61502: 29.0.60; c-ts-mode auto-indent not working, Theodor Thornhill, 2023/02/15
- bug#61502: 29.0.60; c-ts-mode auto-indent not working, Eli Zaretskii, 2023/02/15
- bug#61502: 29.0.60; c-ts-mode auto-indent not working, Theodor Thornhill, 2023/02/15
- bug#61502: 29.0.60; c-ts-mode auto-indent not working, Dmitry Gutov, 2023/02/15
- bug#61502: 29.0.60; c-ts-mode auto-indent not working, Eli Zaretskii, 2023/02/15