x/tools/gopls: support multiple local values in the local prefix setting #44027
Labels
gopls/imports
gopls
Issues related to the Go language server, gopls.
NeedsFix
The path to resolution is known, but the work has not been done.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
The
goimports
tool allows to specify the-local
option multiple times.gopls imports
has alocal
option to reproduce that, but it only seems to work for a single prefix (gopls docs)Everything works as expected when only one prefix is specified.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
✅
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
In Vim, using the
vim-go
plugin, and setting the following options:What did you expect to see?
After saving any
.go
file:What did you see instead?
The text was updated successfully, but these errors were encountered: