Rust
Install
macOS
rustup component add rust-analyzer
Linux
rustup component add rust-analyzer
Windows
rustup component add rust-analyzer
Config
Add to ~/.config/catenary/config.toml:
[server.rust]
command = "rust-analyzer"
[server.rust.initialization_options]
check.command = "clippy"
cargo.features = "all"
diagnostics.disabled = ["inactive-code"]
[language.rust]
servers = ["rust"]
Notes
- rust-analyzer is the official Rust language server
- Installing via rustup ensures it stays in sync with your Rust toolchain
- First run on a project may take time to index (watch for “Indexing” status)