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

Fix CargoReload sending RPC requests to unrelated LSP clients #2738

Merged
merged 1 commit into from
Aug 22, 2023
Merged

Fix CargoReload sending RPC requests to unrelated LSP clients #2738

merged 1 commit into from
Aug 22, 2023

Conversation

speelbarrow
Copy link
Contributor

The configuration for rust_analyzer in this plugin sets up a command CargoReload that calls an internal function reload_workspace. This function had the same problem as the function of the same name in rust-tools.nvim (see simrat39/rust-tools.nvim#267 and simrat39/rust-tools.nvim#410). I've applied the same fix I did here as I did there.

@speelbarrow
Copy link
Contributor Author

Updated commit to comply with linting

@glepnir glepnir merged commit 27c5947 into neovim:master Aug 22, 2023
9 checks passed
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