linol/ocaml-lsp-server/docs/ocamllsp/config.md
Simon Cruanes 7fbc187548 Squashed 'thirdparty/lsp/' content from commit aae69863
git-subtree-dir: thirdparty/lsp
git-subtree-split: aae6986391a8519de3da6a7a341f2bd3376e0d2f
2025-04-10 15:44:25 -04:00

1 KiB

Configuration

The ocamllsp support the following configurations.

These configurations are sent through the didChangeConfiguration notification.

interface config {
  /**
  * Enable/Disable Extended Hover
  * @default false
  * @since 1.16
  */
  extendedHover: { enable : boolean }

  /**
  * Enable/Disable CodeLens
  * @default false
  * @since 1.16
  */
  codelens: { enable : boolean }

  /**
  * Enable/Disable Dune diagnostics
  * @default true
  * @since 1.18
  */
  duneDiagnostics: { enable : boolean }

  /**
  * Enable/Disable Inlay Hints
  * @default false
  * @since 1.18
  */
  inlayHints: { enable : boolean }

  /**
  * Enable/Disable Syntax Documentation
  * @default false
  * @since 1.18
  */
  syntaxDocumentation: { enable : boolean }

  /**
  * Enable/Disable Merlin Jump code actions
  * @default true
  * @since 1.19
  */
  merlinJumpCodeActions: { enable : boolean }
}