gopls times out when using :lsp-restart #13418
Replies: 2 comments
-
Reverting back to helix version |
Beta Was this translation helpful? Give feedback.
0 replies
-
Another update, the issue starts in 24.7. It works fine in 24.3, but updating the 24.7 causes :lsp-restart to break with gopls. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Many times I need to run
:lsp-restart
while working in Go, as I have sqlc generated files that change. I noticed that recently though if I run:lsp-restart
the Go LSP never finishes reloading, and instead I get timed out errors. However, if I run:lsp-restart
then followed up with:set-language go
it will restart the LSP correctly and work fine. This is an annoying fix though, and it only fixes the current buffer, so I must run:set-language go
on every single open buffer that I am working in.My
languages.toml
is unchanged (as far as Go goes with gopls). My gopls version isv0.18.1
and my Helix version is25.01.1 (e7ac2fcd)
.I feel like it only started happening in the last update or two to Helix (and or gopls). I may try reverting back a few versions and see if it is fixed, if I do this, I'll post an update.
helix.log
Restarting the LSP, and then trying to read the hover documentation provides this error:

Beta Was this translation helpful? Give feedback.
All reactions