x/tools/gopls: allow enabling gofumpt extra rules #56403
Labels
FeatureRequest
Issues asking for a new feature that does not need a proposal.
gopls
Issues related to the Go language server, gopls.
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
gopls version
master (8166dca) (latest release: v0.9.5)
go env
N/A
What did you do?
Currently
gofumpt
can be enabled: https://go.googlesource.com/tools/+/refs/heads/master/gopls/doc/settings.md#gofumpt-boolBut extra rules cannot be used: mvdan/gofumpt#extra-rules-behind--extra
What did you expect to see?
An option to enable extra rules (e.g.
formatting.gofumptExtraRules
bool
). Suggested implementation: golang/tools#410What did you see instead?
No option to enable extra rules.
Editor and settings
Logs
N/A
The text was updated successfully, but these errors were encountered: