Open Flaxoos opened 4 days ago
Same error for me, when Nvim Attaches
> ra-multiplex server
INFO listening socket=Tcp(127.0.0.1, 27631)
INFO client{client_id=0}: client connected
INFO instance{pid=173955}: spawned language server server="rust-analyzer" args=[] cwd="/home/dominik.saeume@hmmh.ag/Workspace/hmmh/report-book-generator"
ERROR instance{pid=173955}: stderr line=error: Unknown binary 'rust-analyzer' in official toolchain 'stable-x86_64-unknown-linux-gnu'.
ERROR client{client_id=0}: client error: spawning instance
Caused by:
0: server handshake
1: stream ended
nvim config:
lspconfig.rust_analyzer.setup({
cmd = { "ra-multiplex" },
settings = {
["rust-analyzer"] = {
check = {
overrideCommand = {
"cargo",
"clippy",
"--message-format=json-diagnostic-rendered-ansi",
"--fix",
"--allow-dirty"
}
}
}
}
})
ra-multiplex config
instance_timeout = 300 # after 5 minutes
gc_interval = 10 # every 10 seconds
listen = ["127.0.0.1", 27631] # localhost & some random unprivileged port
connect = ["127.0.0.1", 27631] # same as `listen`
log_filters = "info"
pass_environment = []
vscode settings:
running ra multiplex server
Please help :(