x/tools/cmd/gopls: Wiki configuration suggestion for LanguageClient save action does not apply imports #31532
Labels
ExpertNeeded
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
Forking this issue out of discussion in #30843, since it seems unrelated and I don't want to derail the conversation there. See #30843 (comment) for the specifics, but the TL;DR is that gopls+LanguageClient+vim using the config suggested in the gopls wiki does not seem to produce the expected results when saving a file.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
unknown
What operating system and processor architecture are you using (
go env
)?darwin/amd64
What did you do?
Configured LanguageClient according to instructions in the gopls wiki
What did you expect to see?
Source file imports organized along with formatting applied.
What did you see instead?
Only formatting.
The text was updated successfully, but these errors were encountered: