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

Re-use an existing language server if already started. #114

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

dsully
Copy link
Contributor

@dsully dsully commented Apr 24, 2024

Also setup an on_exit handler.

Without this change - when one opens a Cargo.toml, closes it and then re-opens it (or a different one in a workspace):

CleanShot 2024-04-24 at 06 09 39@2x

With this change:

CleanShot 2024-04-24 at 06 10 58@2x

@saecki
Copy link
Owner

saecki commented Apr 24, 2024

LGTM, thanks for this contribution!

@saecki saecki merged commit f00e11e into saecki:main Apr 24, 2024
1 of 2 checks passed
@dsully dsully deleted the lsp-reuse branch April 25, 2024 02:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants