gopls version
v0.18.1
go env
What did you do?
Type struc inside a map declaration, and imports go/ast and go/types. You can use golang/tools package cmd/deadcode/deadcode.go to verify it.
What did you see happen?
I saw 3 symbols from the other packages are suggested above struct.

What did you expect to see?
I want the struct to be suggested with a higher score, so it could be put above the other 3 symbols from imported packages. The higher score should be given at least when a type usage is proper.
I can help to do the code change.
Editor and settings
No response
Logs
No response
gopls version
v0.18.1
go env
What did you do?
Type
strucinside a map declaration, and importsgo/astandgo/types. You can usegolang/toolspackagecmd/deadcode/deadcode.goto verify it.What did you see happen?
I saw 3 symbols from the other packages are suggested above
struct.What did you expect to see?
I want the
structto be suggested with a higher score, so it could be put above the other 3 symbols from imported packages. The higher score should be given at least when a type usage is proper.I can help to do the code change.
Editor and settings
No response
Logs
No response