Closed jkary closed 4 days ago
Related Issues
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
what's the output of go version -m path/to/gopls
I figured out my problem. I had 'golang-x-tools-gopls.x86_64: LSP server for Go' rpm package installed and it was masking the gopls executable for go 1.23. Once I removed this package all was good.
Go version
go version go1.23.2 linux/amd64
Output of
go env
in your module/workspace:What did you do?
gopls just dies with a pointer error. I've tried reinstalling it with 'go install golang.org/x/tools/gopls@latest', but the issue persists.
What did you see happen?
I was attempting to use gopls with neovim. Neovim was complaining that it could figure out the version. Running the command gopls from the cli produced a stack trace.
What did you expect to see?
A non SEGV error.