x/tools/gopls: nil pointer error in gopls/internal/lsp/cache.toSourceDiagnostic #60909
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
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: