x/tools/gopls: Use source from GOMODCACHE if available even if the dependant module is vendored #52952
Labels
FrozenDueToAge
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
go env
What did you do?
What did you expect to see?
Auto-completion and auto-import from the two packages that are not currently vendored.
What did you see instead?
No completion. I have to check the package path, import it in some file in main module,
go vendor
, thengopls
will start providing auto-completion and auto-import.Alternatively I can delete
vendor/
temporarily.Editor and settings
I'm using Neovim with coc.nvim.
Logs
The text was updated successfully, but these errors were encountered: