Proposal Details
Currently, in the gopls settings, we only have the option to enable gofumpt. It would be nice if gopls allows the user to set a path to a specific formatter program like how nil implements it, where it supports setting a custom formatter in the config by assigning the path of the formatter to "nil"."formatter"."command" as a String. This would enable the ability to use third party formatters such as golines and golangci-lint fmt with gopls.
Proposal Details
Currently, in the
goplssettings, we only have the option to enablegofumpt. It would be nice ifgoplsallows the user to set a path to a specific formatter program like how nil implements it, where it supports setting a custom formatter in the config by assigning the path of the formatter to"nil"."formatter"."command"as aString. This would enable the ability to use third party formatters such asgolinesandgolangci-lint fmtwithgopls.