Closed weakphish closed 1 year ago
Copied from https://github.com/helix-editor/helix/issues/5909
In Go, the standard idiom is to begin docstrings with the name of the symbol being described, like so:
// foo performs an action func foo() { fmt.Println("bar") } // Bar is a struct type Bar struct { baz int }
I propose that, similar to Goland from Jetbrains, the first term of a Go docstring be differentiated.
Can be done with queries
There is also the interface of go, ts can't recognize it, how to use the query, ,
Copied from https://github.com/helix-editor/helix/issues/5909
In Go, the standard idiom is to begin docstrings with the name of the symbol being described, like so:
I propose that, similar to Goland from Jetbrains, the first term of a Go docstring be differentiated.