Skip to content
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

Option to disable waiting for LSP servers to terminate #6146

Closed
crabdancing opened this issue Mar 1, 2023 · 2 comments
Closed

Option to disable waiting for LSP servers to terminate #6146

crabdancing opened this issue Mar 1, 2023 · 2 comments
Labels
C-enhancement Category: Improvements

Comments

@crabdancing
Copy link

On my machine, I use ra-multiplex as a wrapper around rust-analyzer. This introduces an intermediate client-server protocol that allows all Rust analysis to be done by a single server instance, and allows it to stay in memory -- reducing the amount of duplicate analysis that needs to be done over long coding sessions, where I may be swapping between IDEs and projects (many of which share the same crates).

The problem is that Helix waits until timeout for the LSP to close, so it ends up staying open for several seconds more, messing up workflow. I cloned the repo and disabled the code that performs the wait, and it seems not to cause any zombie processes or other problems. It'd be cool if there was an option to do this, in the mainline code!

@crabdancing crabdancing added the C-enhancement Category: Improvements label Mar 1, 2023
@kirawi
Copy link
Member

kirawi commented Mar 1, 2023

#5266

@crabdancing
Copy link
Author

Oh, whoops

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

2 participants