From lean4-lean-lsp
Lean language server provides code intelligence for Lean — diagnostics, go-to-definition, find references, hover information, and type checking for .lean files.
npx claudepluginhub piebald-ai/claude-code-lsps --plugin lean4-lean-lspThis LSP server requires leanto be installed on your system. Make sure it's available in your PATH before enabling.
Add to your .lsp.json or plugin.json:
{
"lspServers": {
"lean": {
"command": "lean",
"extensionToLanguage": {
".lean": "lean"
},
"args": [
"--server"
]
}
}
}leanstdioInitialization Options:
{}Settings:
{}