by aussiesnack · 4y ago · 0 comments
Not sure if this is still necessary, but I needed this workaround in ~/.config/helix/languages.toml:
language-server = { command = "rustup", args = ["run", "nightly", "rust-analyzer"]}
This should not be necessary when rust-analyzer is stabilized (may be already), but last time I tried it still needed nightly.From a brief experiment basic lsp usage seems to work in helix without any config changes, so perhaps that's changed since you set it up.
It also only works on Rust projects, not single files. You have to open helix with the path to the project folder for it to work.
Documentation is missing, it's a bit scattered