-
Did anyone succeed to set this up for helix? If yes, could you please share your config? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I'm using it with helix myself, does the example config not work? Edit: Oh, it looks like the example config for helix is way outdated. I'll have to fix that, sorry. My [language-server.rust-analyzer]
args = ["client", "--server-path", "rust-analyzer"]
command = "/nix/store/sfl5jyc488kfmczpa5x68xvp4rq7sgin-ra-multiplex-0.2.4-git/bin/ra-multiplex" My connect = "/home/user/.cache/ra-mux/ra-mux.sock"
listen = "/home/user/.cache/ra-mux/ra-mux.sock"
pass_environment = ["PATH"] And I have a user service
Entering any shell environment that has This is on nixos with no rust-analyzer or rustc installed globally, only per-project shells. You can make it easier with a more traditional distro. Without the PATH passing, pointing the service to the single rust-analyzer with an absolute path. |
Beta Was this translation helpful? Give feedback.
I'm using it with helix myself, does the example config not work?
Edit: Oh, it looks like the example config for helix is way outdated. I'll have to fix that, sorry.
My
~/.config/helix/languages.toml
has this bit in it:My
~/.config/ra-multiplex/config.toml
has these lines in it:And I have a user service
systemctl --user cat ra-mux
like this: