GNU bug report logs -
#69562
29.2.50; go-ts-mode does not handle comments with fill-paragraph
Previous Next
Reported by: Ankit Gadiya <ankit <at> argp.in>
Date: Tue, 5 Mar 2024 12:24:01 UTC
Severity: normal
Found in version 29.2.50
Done: Dmitry Gutov <dmitry <at> gutov.dev>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On 05/03/2024 17:49, Eli Zaretskii wrote:
>> That's odd: here it becomes
>>
>> // Sample is a sample function with a very long comment. Sample is a
>> // new details added to the comment sample function with a very long
>> // comment. Sample is a sample function with a very long
>> // comment. Sample is a sample function with a very long comment.
>> func Sample() {
> Could it be that you two use different versions of the grammar
> library?
I expect that it doesn't matter: we're not talking about a situation
where some queries fail or some syntax errors.
go-ts-mode also doesn't set syntax-propertize-function (which is a
mechanism of translating the grammar's syntax into something our generic
code would look up. So it should only be affected by the settings we
make in Lisp: the buffer syntax table and whatever other variables
affect how filling happens.
Anyway, I've installed the latest version of the Go grammar now and
don't see a change.
This bug report was last modified 1 year and 73 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.