-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strange behaviour when calling LSPStop
in neovim
#139
Comments
Having this issue too! |
LSPStop
in neovimLSPStop
in neovim
Also same here, and |
This seems to be an issue with the underlying tower-lsp crate:
One LSP server has implemented a workaround for this in denoland/deno#21251, but it would sure be preferable if things were just fixed in tower-lsp. Edit: I've put together a PR to tower-lsp here: ebkalderon/tower-lsp#428, and confirmed that this solves this issue. If you want to try it out, you can try my harper fork here: https://github.com/jfly/harper/tree/actually-exit. |
This version of `tower-lsp` includes ebkalderon/tower-lsp#428, which fixes elijah-potter#139
This version of `tower-lsp` includes ebkalderon/tower-lsp#428, which fixes elijah-potter#139
Oh wow. @jfly that's fantastic. While it would be great if you're PR was merged into |
Emphasis mine:
#225 ;) (sorry! this is meant as a joke)
Yeah, things seem pretty dead upstream, and the code in master doesn't even compile 😢
If you want to wait and see before forking, an alternative would be to implement some version of the workaround deno did: denoland/deno#21251. (I personally would prefer that you use a fork with my change, though) |
This version of `tower-lsp` includes ebkalderon/tower-lsp#428, which fixes elijah-potter#139
Hullo! Sorry about now finding this issue before posting mine. Thanks @jfly for working on this! Unfortunate about the inactivity around Tower, seems like it could use a new head maintainer. |
Hi,
When i try to stop the harper-ls using
LSPStop
, the diagnostic hints stays in the buffer with the swirly lines under the words.It seems as the ls has actually stopped because the Code Action is not available anymore. If I try to start harper-ls again, it does not seem to change anything. No Code action available, but the diagnostics with swirly lines is still there.
It seems isolated to harper-ls, I can toggle other ls just fine.
Not sure if this is a bug or something I'm missing.
I run NVIM v0.10.1.
I have installed harper-ls through Mason:
In the
lsp.log
I do see these entries:I cannot find any entries in the lsp.log about starting harper_ls, not even after calling
LSPStart harper-ls
Let me know if some more info is needed.
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: