You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
gopherbot
added
Tools
This label describes issues relating to any tools in the x/tools repository.
gopls
Issues related to the Go language server, gopls.
labels
Jun 21, 2023
Actually the explanation for this one is very simple: the enabled set of analyzers is expanded to include all "required" analyzer dependencies, to ensure that the root analyzer set is a superset of the facty set, allowing us to analyze each package with exactly one set. But the expanded set should not be used for the final loop.
nil pointer error in toSourceDiagnostic
gopls version
golang.org/x/tools/gopls@master: 85554d6
go env
What did you do?
simplely trigger the error or warn disagnostic
What did you expect to see?
lsp work correctly
What did you see instead?
gopls got detech and killed
Editor and settings
Editor: nvim v0.9.1
Pluigins:ray-x/go.nvim
Lsp Config:
lsp_cfg = {
capabilities = require('cmp_nvim_lsp').default_capabilities(),
handlers = handlers,
settings = {
gopls = {
directoryFilters = {
"-**/protobuf/go/",
"-protobuf/go",
},
analyses = {
shadow = false,
}
}
}
},
Logs
The text was updated successfully, but these errors were encountered: