#16315·helix

rust-analyzer stops working silently inside Helix when parsing projects with `uom` dependency

Author: djmaxusCreated Sep 27, 2026Updated Sep 28, 2026
LabelsC-bug

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

  1. Create or open a Rust crate that depends on uom (or similar macro-heavy crate, or uom itself):

    toml
    [dependencies]
    uom = "0.36"
  2. Start Helix and open a .rs file from the crate: hx src/lib.rs

  3. Wait while the LSP's rectangular status icon "spins"

  4. After ~1 minute of waiting LSP features (diagnostics, completions, hover) do not start working without any visible error message to the user.

  5. Check the log file: hx --log-open or ~/.cache/helix/helix.log

Expected Behavior

  • rust-analyzer should 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].timeout in languages.toml should extend the grace period before Helix gives up on requests.

Actual Behavior

  • After rust-analyzer finishes its cargo check phase, it sends a workspace/diagnostic/refresh method call.
  • Helix responds with Method not found error (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.log
2026-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