cmd/gofmt: allow same level indent for block comments #38204
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Given the following code:
It will be reformatted as:
(notice the indent it injects)
This is frustrating for users who need to maintain patches since it means that there is now a potentially massive diff when trying to comment large blocks of code in a patch.
Would it be possible for gofmt to stop trying to indent everything within the block comments?
\cc @griesemer
The text was updated successfully, but these errors were encountered: