Skip to content

Commit 29686ac

Browse files
committed
Update config.md
1 parent 0b73ce3 commit 29686ac

File tree

1 file changed

+37
-7
lines changed

1 file changed

+37
-7
lines changed

ocaml-lsp-server/docs/ocamllsp/config.md

Lines changed: 37 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ interface config {
1515
*/
1616
extendedHover: { enable : boolean }
1717

18+
/**
19+
* Enable/Disable Standard Hover
20+
* @default true
21+
* @since 1.21
22+
*/
23+
standardHover: { enable : boolean }
24+
1825
codelens: {
1926
/**
2027
* Enable/Disable CodeLens
@@ -38,12 +45,28 @@ interface config {
3845
*/
3946
duneDiagnostics: { enable : boolean }
4047

41-
/**
42-
* Enable/Disable Inlay Hints
43-
* @default false
44-
* @since 1.18
45-
*/
46-
inlayHints: { enable : boolean }
48+
inlayHints: {
49+
/**
50+
* Enable/Disable Inlay Hints for pattern variables
51+
* @default false
52+
* @since 1.23
53+
*/
54+
hintPatternVariables : boolean
55+
56+
/**
57+
* Enable/Disable Inlay Hints for let bindings
58+
* @default false
59+
* @since 1.23
60+
*/
61+
hintLetBindings : boolean
62+
63+
/**
64+
* Enable/Disable Inlay Hints for function params
65+
* @default false
66+
* @since 1.23
67+
*/
68+
hintFunctionParams : boolean
69+
}
4770

4871
/**
4972
* Enable/Disable Syntax Documentation
@@ -54,9 +77,16 @@ interface config {
5477

5578
/**
5679
* Enable/Disable Merlin Jump code actions
57-
* @default true
80+
* @default false
5881
* @since 1.19
5982
*/
6083
merlinJumpCodeActions: { enable : boolean }
84+
85+
/**
86+
* Enable/Disable Shorten Merlin Diagnostics
87+
* @default false
88+
* @since 1.23
89+
*/
90+
shortenMerlinDiagnostics: { enable : boolean }
6191
}
6292
```

0 commit comments

Comments
 (0)