From rust-analyzer-lsp
rust-analyzer provides code intelligence for Rust: diagnostics, go-to-definition, find references, hover information, symbols, and call hierarchy for .rs files.
npx claudepluginhub anthropics/claude-plugins-official --plugin rust-analyzer-lspThis LSP server requires rust-analyzerto be installed on your system. Make sure it's available in your PATH before enabling.
Add to your .lsp.json or plugin.json:
{
"lspServers": {
"rust-analyzer": {
"command": "rust-analyzer",
"extensionToLanguage": {
".rs": "rust"
}
}
}
}rust-analyzerstdio