You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Related to neovim#2821
Add the ability to restart the `rust-analyzer` language server with updated settings.
* Add a `restart` method to `vim.lsp.client` in `lua/lspconfig/util.lua` to support restarting with updated settings.
* Implement the `restart` method to stop the client, update settings, and start the client again.
* Update the `LspRestart` command in `plugin/lspconfig.lua` to support updating settings.
* Use the new `restart` method in the `LspRestart` command.
Language server
rust-analyzer
Requested feature
I want to be able to activate Features and change the target, for which I need to restart the language server.
I'm currently doing this:
Ideally, I'd like a way to do
client.restart({settings = updated_settings})
.It would also be nice, if I could get a better way to access a
client
i.e.Other clients which have this feature
No response
The text was updated successfully, but these errors were encountered: