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

53 lines
1 KiB
Markdown

# Configuration
The ocamllsp support the following configurations.
These configurations are sent through the
[`didChangeConfiguration`](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#workspace_didChangeConfiguration)
notification.
```ts
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 }
}
```