Skip to content

Commit 12c06c5

Browse files
committed
Rephrase documentation
1 parent 1b6a0ea commit 12c06c5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Features
44

55
- Make `inlay-hint` for function parameters configurable (#1515)
6-
- Add custom `ocamllsp/jumpTypedHole` to navigate through typed holes (#1516)
6+
- Add custom `ocamllsp/jumpToTypedHole` to navigate through typed holes (#1516)
77

88
## Fixes
99

ocaml-lsp-server/docs/ocamllsp/jumpToTypedHoles-spec.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ in a range or not).
1010

1111
Reduces the need for editor-side logic and works well with the
1212
expression construct command. For example, constructing a value of
13-
type `int option` constructs, for example, the following expression:
13+
type `int option` constructs the following expression:
1414
`Some _`, coupled with typed hole navigation, you can move the cursor
1515
directly over the generated hole.
1616

@@ -23,11 +23,11 @@ directly over the generated hole.
2323
2424
## Client capability
2525

26-
nothing that should be noted
26+
N/A
2727

2828
## Server capability
2929

30-
- property name: `handleToJumpTypedHole`
30+
- property name: `handleJumpToTypedHole`
3131
- property type: `boolean`
3232

3333
## Request
@@ -53,5 +53,5 @@ range.
5353
Range | null
5454
```
5555

56-
Returns the next or previous hole, or `null` if no hole has been
57-
found.
56+
Returns the next or previous typed hole at a given position. An
57+
optional range can be used to restrict the search.

0 commit comments

Comments
 (0)