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
I have a problem similar to #3386. rust-analyzer consumes a lot of resources, so I'd like it off by default.
The first solution proposed there is to set editor.lsp.enable = false in config.toml. However, this disables LSP for all languages; I only want to disable it for Rust.
The second solution is language-servers = [] in the [[language]] entry for Rust in languages.toml. But this will make Helix not know about any language servers for Rust at all. What I'd like is for rust-analyzer to be turned off by default, but turned on if I run :lsp-restart.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have a problem similar to #3386. rust-analyzer consumes a lot of resources, so I'd like it off by default.
The first solution proposed there is to set
editor.lsp.enable = false
inconfig.toml
. However, this disables LSP for all languages; I only want to disable it for Rust.The second solution is
language-servers = []
in the[[language]]
entry for Rust inlanguages.toml
. But this will make Helix not know about any language servers for Rust at all. What I'd like is for rust-analyzer to be turned off by default, but turned on if I run:lsp-restart
.Is there anything better?
Beta Was this translation helpful? Give feedback.
All reactions