[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master e494ca4f4d 6/7: Fix treesit_record_change in casify_region
From: |
Yuan Fu |
Subject: |
Re: master e494ca4f4d 6/7: Fix treesit_record_change in casify_region |
Date: |
Tue, 22 Nov 2022 11:16:29 -0800 |
> On Nov 22, 2022, at 1:35 AM, Po Lu <luangruo@yahoo.com> wrote:
>
> Yuan Fu <casouri@gmail.com> writes:
>
>> #ifdef HAVE_TREE_SITTER
>> - treesit_record_change (start_byte, old_end_byte, CHAR_TO_BYTE (end));
>> + treesit_record_change (start_byte, old_end_byte, CHAR_TO_BYTE
>> (orig_end + added));
>> #endif
>> - }
>>
>> return orig_end + added;
>> }
>
> This is 88 columns! Would you please fill it to 80?
Sure, but now I’m confused. IIRC some style changes made to treesit.c unwraps
some lines into long lines, which is why I didn’t wrap this line. What exactly
is our policy?
Yuan