Answer the question
In order to leave comments, you need to log in
Is there a comment reformer for go?
Is there a command line reformatter for go?
To bring the width under the "standard" / set as a parameter?
It was like:
// Lorem ipsum dolor sit amet, consectetur adipiscing elit.
// Morbi tincidunt vehicula nibh, a pellentesque felis
// pellentesque at. Duis leo augue.
func Lorem() {
}
// Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi tincidunt vehicula nibh, a pellentesque felis pellentesque
// at. Duis leo augue.
func Lorem() {
}
Answer the question
In order to leave comments, you need to log in
Not exactly the same, but relevant. Vim has a reformatter for everything - the gq command and its flags.
:help gq
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question