Stats
Actions
Tags
From ocaml-dev
ocamllsp provides code intelligence for OCaml and Reason — diagnostics, go-to-definition, find references, hover information for .ml, .re, .mli files.
This LSP server requires ocamllspto be installed on your system. Make sure it's available in your PATH before enabling.
Copy this JSON into your .lsp.json to enable this server
Add to your .lsp.json or plugin.json:
{
"lspServers": {
"ocamllsp": {
"command": "ocamllsp",
"extensionToLanguage": {
".ml": "ocaml",
".re": "reason",
".mli": "ocaml.interface",
".mll": "ocaml.ocamllex",
".mlx": "ocaml.mlx",
".mly": "ocaml.menhir",
".rei": "reason",
".eliom": "ocaml",
".eliomi": "ocaml.interface"
}
}
}
}File extensions mapped to language identifiers
Server configuration and transport parameters
ocamllspstdioInitialization options and workspace settings
npx claudepluginhub avsm/ocaml-claude-marketplace --plugin ocaml-dev