[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#61026: 29.0.60; c-ts-mode: Broken indentation for loops and conditio
From: |
Mohammed Sadiq |
Subject: |
bug#61026: 29.0.60; c-ts-mode: Broken indentation for loops and conditions without brace |
Date: |
Mon, 23 Jan 2023 16:47:38 +0530 |
The following code has broken indentation with c-ts-mode:
while (true)
if (true) {
puts ("Hello");
}
if (true)
if (true)
{
puts ("World");
}
For which, I expect to get the following indentation (with default
config):
while (true)
if (true) {
puts ("Hello");
}
if (true)
if (true)
{
puts ("World");
}
In GNU Emacs 29.0.60 (build 6, x86_64-pc-linux-gnu, GTK+ Version
3.24.36, cairo version 1.16.0) of 2023-01-23 built on purism
Repository revision: e6c5f32e77dceed4e26b16889cc56547093bdc45
Repository branch: emacs-29
Windowing system distributor 'The X.Org Foundation', version
11.0.12101006
System Description: Debian GNU/Linux bookworm/sid
- bug#61026: 29.0.60; c-ts-mode: Broken indentation for loops and conditions without brace,
Mohammed Sadiq <=