From 29686ac2a035e9d66a6830e138b349896ae70a4c Mon Sep 17 00:00:00 2001 From: Zacharie Tevaearai Date: Mon, 15 Dec 2025 11:24:45 +0100 Subject: [PATCH] Update config.md --- ocaml-lsp-server/docs/ocamllsp/config.md | 44 ++++++++++++++++++++---- 1 file changed, 37 insertions(+), 7 deletions(-) diff --git a/ocaml-lsp-server/docs/ocamllsp/config.md b/ocaml-lsp-server/docs/ocamllsp/config.md index 4eb601516..da5afa71e 100644 --- a/ocaml-lsp-server/docs/ocamllsp/config.md +++ b/ocaml-lsp-server/docs/ocamllsp/config.md @@ -15,6 +15,13 @@ interface config { */ extendedHover: { enable : boolean } + /** + * Enable/Disable Standard Hover + * @default true + * @since 1.21 + */ + standardHover: { enable : boolean } + codelens: { /** * Enable/Disable CodeLens @@ -38,12 +45,28 @@ interface config { */ duneDiagnostics: { enable : boolean } - /** - * Enable/Disable Inlay Hints - * @default false - * @since 1.18 - */ - inlayHints: { enable : boolean } + inlayHints: { + /** + * Enable/Disable Inlay Hints for pattern variables + * @default false + * @since 1.23 + */ + hintPatternVariables : boolean + + /** + * Enable/Disable Inlay Hints for let bindings + * @default false + * @since 1.23 + */ + hintLetBindings : boolean + + /** + * Enable/Disable Inlay Hints for function params + * @default false + * @since 1.23 + */ + hintFunctionParams : boolean + } /** * Enable/Disable Syntax Documentation @@ -54,9 +77,16 @@ interface config { /** * Enable/Disable Merlin Jump code actions - * @default true + * @default false * @since 1.19 */ merlinJumpCodeActions: { enable : boolean } + + /** + * Enable/Disable Shorten Merlin Diagnostics + * @default false + * @since 1.23 + */ + shortenMerlinDiagnostics: { enable : boolean } } ```