[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#60572: 29.0.60; c-ts-mode: String spanning multiple lines are not in
From: |
Theodor Thornhill |
Subject: |
bug#60572: 29.0.60; c-ts-mode: String spanning multiple lines are not indented |
Date: |
Sat, 07 Jan 2023 13:07:05 +0100 |
Yuan Fu <casouri@gmail.com> writes:
> Mohammed Sadiq <sadiq@sadiqpk.org> writes:
>
>> The following code doesn't indent with TAB on c-ts-mode:
>>
>> #include <stdio.h>
>>
>> int
>> main (void)
>> {
>> char *test = "some "
>> "test";
>>
>> puts ("more "
>> "test");
>> }
>>
>>
>> expected indentation:
>>
>> #include <stdio.h>
>>
>> int
>> main (void)
>> {
>> char *test = "some "
>> "test";
>>
>> puts ("more "
>> "test");
>> }
>>
>
> Thanks for the report. I’m on the road right now, but I’ll soon get back
> and work on this and your other reports, just FYI :-)
>
> Yuan
Here is a patch fixing this, Yuan. Feel free to install at your
convenience.
Do you agree with this patch, Mohammed?
Theo
0001-Add-indentation-rule-for-concatenated_string-bug-605.patch
Description: Text Data