Skip to content

fix: truly stop lsp client and handle rust-analyzer with rustaceanvim. #16

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

Closed
wants to merge 2 commits into from

Conversation

ayamir
Copy link

@ayamir ayamir commented Apr 10, 2025

This patch adds two changes:

  1. Use client.stop() to stop client and truly save memory. Current impl doesn't work for me, the lsp server still occupies lots of memory in the background.
  2. Start the rust-analyzer managed by rustaceanvim correctly.

@ayamir ayamir changed the title fix: stop lsp client indeed and handle rust-analyzer with rustaceanvim. fix: truly stop lsp client and handle rust-analyzer with rustaceanvim. Apr 10, 2025
@Zeioth
Copy link
Owner

Zeioth commented Apr 17, 2025

This is not gonna be merged as:

  • Rustacean is a plugin, not a lsp server.
  • The PR modifies unnecessary lines.

Thank you for sending it. It might serve as reference for other people with your same case of use.
Closing.

@Zeioth Zeioth closed this Apr 17, 2025
@ayamir ayamir mentioned this pull request Apr 18, 2025
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