Thicket thicket
ocaml
REPOS 9

Tools covers builds, package management, editors, documentation and JavaScript compilation.

W32.2026 · 3–9 Augocaml/ocaml-lsp

Fixes

  • textDocument/definition (merged): A keyword, builtin type, or name at its own declaration now returns an empty result instead of a RequestFailed error. Eliminates spurious error notifications in editors that query definitions eagerly.

  • textDocument/publishDiagnostics (merged): Now attaches Unnecessary and Deprecated tags when the client advertises tagSupport. Editors can grey out unused values and strike through deprecated ones.

  • Hover at constructor/exception declarations (merged): Hovering a variant constructor or exception where it is declared now returns the constructor type. Previously the iterator skipped those nodes, producing no response.

  • Semantic tokens for module names (merged): Module names in S with module M = N and open in signatures now receive a semantic token. These two positions previously received none.

  • textDocument/foldingRange (merged): Omits character positions when the client sets lineFoldingOnly, omits the kind when Region is absent from foldingRangeKind.valueSet, and truncates to rangeLimit.

  • textDocument/documentSymbol (merged): Falls back to Constructor and Class when the client does not advertise EnumMember or TypeParameter in symbolKind.valueSet.

Proposed

  • Unused-code quick fixes (open): Now match the Warning 33: unused open B. format Merlin emits. Previously only the value case worked, and only with warnings promoted to errors.

  • ocamlformat-rpc startup crash (open): A process that dies during version negotiation now produces an error log and unformatted hover types instead of failing the hover request with an internal error.