bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#60805: [PATCH] Extend go-ts-mode with command to add docstring to fu


From: Theodor Thornhill
Subject: bug#60805: [PATCH] Extend go-ts-mode with command to add docstring to function
Date: Fri, 20 Jan 2023 21:39:42 +0100

Evgeni Kolev <evgenysw@gmail.com> writes:

> I'm sending an updated patch. The improvement is that empty lines are
> not considered comments. Example:
> ```
> // unrelated comment
>
> // docstring
> func sum(a, b int) int {
>     return a + b
> }
> ```
> With point in the function body, C-c C-d jumps to "// docstring"
> instead of "// unrelated comment".
>
> Patch is below.
>

Thanks!

@Randy, anything you want to add?

By the way, the patch doesn't apply cleanly on my system, could you
resend the patch as an attachment, maybe?  And also, have you done the
paperwork for emacs contributions?

Theo






reply via email to

[Prev in Thread] Current Thread [Next in Thread]