|
From: | Mohammed Sadiq |
Subject: | bug#60270: 29.0.60; c-ts-mode: Comments are not indented right on auto indentation |
Date: | Sat, 24 Dec 2022 15:19:31 +0530 |
On 2022-12-24 14:03, Yuan Fu wrote:
Mohammed Sadiq <sadiq@sadiqpk.org> writes:In c-ts-mode, comments are indented wrong. Say for example, if a C source file contains the following content: /** * @some_func: * @arg1: */ and if I select all and indent with C-x h TAB, I get the following: /** * @some_func: * @arg1: */ But I expect to get the following: /** * @some_func: * @arg1: */Should be fixed now, please give it a try :-) Yuan
Yes, it does work now, thanks. Can this be more in par with c-mode. Not strictly required, but would be nice to have if someone used to use c-mode and migrated to c-ts-modeand indented the code with select all and TAB (to avoid unnecessary change).
The test cases are: /* some comment */ /* * Some comment */ cheers, Mohammed Sadiq
[Prev in Thread] | Current Thread | [Next in Thread] |