Skip to content

Commit

Permalink
Fix construct documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
xvw committed Sep 16, 2024
1 parent 2411d2f commit b2939c2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ocaml-lsp-server/docs/ocamllsp/construct-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ There is no client capability relative to this request.

## Request

- method: `ocamllsp/typeEnclosing`
- method: `ocamllsp/construct`
- params:

```json
Expand All @@ -31,6 +31,11 @@ There is no client capability relative to this request.
}
```

The `depth` parameter allows to recursively construct terms. Note that
when `depth > 1` partial results of inferior depth will not be
returned. The `withValues` use values from the environment (`local`)
or not (`none`), by default, the parameter is fixed to `none`.

## Response

```json
Expand Down

0 comments on commit b2939c2

Please sign in to comment.