Fixes
-
textDocument/definition(merged): A keyword, builtin type, or name at its own declaration now returns an empty result instead of aRequestFailederror. Eliminates spurious error notifications in editors that query definitions eagerly. -
textDocument/publishDiagnostics(merged): Now attachesUnnecessaryandDeprecatedtags when the client advertisestagSupport. 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 = Nandopenin signatures now receive a semantic token. These two positions previously received none. -
textDocument/foldingRange(merged): Omits character positions when the client setslineFoldingOnly, omits the kind whenRegionis absent fromfoldingRangeKind.valueSet, and truncates torangeLimit. -
textDocument/documentSymbol(merged): Falls back toConstructorandClasswhen the client does not advertiseEnumMemberorTypeParameterinsymbolKind.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-rpcstartup 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.