rust-analyzer stops working silently inside Helix when parsing projects with `uom` dependency
Summary
When editing a Rust crate with macro-heavy dependencies (uom in my case), rust-analyzer becomes unresponsive in Helix and does not provide syntax highlight, diagnostics and completions. Helix does not clearly report the failure to the user. Increasing the timeout setting in languages.toml has no effect on this behavior.
Same projects are parsed succesfully in VS Code
rust-analyzer Version: 1.98.1 (48a229ce 2026-09-01) (installed via devenv/nixpkgs)
Reproduction Steps
Create or open a Rust crate that depends on
uom(or similar macro-heavy crate, oruomitself):[dependencies] uom = "0.36"Start Helix and open a
.rsfile from the crate:hx src/lib.rsWait while the LSP's rectangular status icon "spins"
After ~1 minute of waiting LSP features (diagnostics, completions, hover) do not start working without any visible error message to the user.
Check the log file:
hx --log-openor~/.cache/helix/helix.log
Expected Behavior
rust-analyzershould complete its analysis and provide syntax highlight, diagnostics, completions, and other LSP features.- If something goes wrong, Helix should clearly communicate this to the user (e.g., "Language server unresponsive" in status line).
- Increasing
[language-server.rust-analyzer].timeoutinlanguages.tomlshould extend the grace period before Helix gives up on requests.
Actual Behavior
- After
rust-analyzerfinishes its cargo check phase, it sends aworkspace/diagnostic/refreshmethod call. - Helix responds with
Method not founderror (error code -32601), because Helix's LSP client doesn't handle this method. - Subsequent LSP requests may fail or hang, making the server appear unresponsive.
- No clear error or warning is shown to the user in the editor.
Helix log
~/.cache/helix/helix.log2026-09-27T13:29:36.396 helix_lsp::transport [INFO] rust-analyzer <- {"jsonrpc":"2.0","method":"$/progress","params":{"token":"rust-analyzer/flycheck/0","value":{"kind":"end"}}}
2026-09-27T13:29:36.396 helix_lsp::transport [INFO] rust-analyzer <- {"jsonrpc":"2.0","id":17,"method":"workspace/diagnostic/refresh"}
2026-09-27T13:29:36.397 helix_term::application [ERROR] Language Server: Method workspace/diagnostic/refresh not found in request 17
2026-09-27T13:29:36.397 helix_lsp::transport [INFO] rust-analyzer -> {"jsonrpc":"2.0","error":{"code":-32601,"message":"Method not found: workspace/diagnostic/refresh"},"id":17}Platform
macOS
Terminal Emulator
Warp v0.2026.09.16.08.27.stable_02
Installation Method
nixpkgs
Helix Version
25.07.1
Source: helix-editor/helix