Skip to content

Commit 40c5106

Browse files
authored
Prepare for release 1.20.1-4.14 (ocaml#1413)
1 parent 83cdcd6 commit 40c5106

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

CHANGES.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# 1.20.1
2+
3+
## Fixes
4+
5+
- Deactivate the `jump` code actions by default. Clients can enable them with
6+
the `merlinJumpCodeActions` configuration option. Alternatively a custom
7+
request is provided for ad hoc use of the feature. (#1411)
8+
19
# 1.20.0
210

311
## Features

dune-project

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ possible and does not make any assumptions about IO.
4545
(description "An LSP server for OCaml.")
4646
(depends
4747
yojson
48-
base
48+
(base (>= v0.16.0))
4949
(lsp (= :version))
5050
(jsonrpc (= :version))
5151
(re (>= 1.5.0))

ocaml-lsp-server.opam

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ bug-reports: "https://github.com/ocaml/ocaml-lsp/issues"
2121
depends: [
2222
"dune" {>= "3.0"}
2323
"yojson"
24-
"base"
24+
"base" {>= "v0.16.0"}
2525
"lsp" {= version}
2626
"jsonrpc" {= version}
2727
"re" {>= "1.5.0"}

ocaml-lsp-server/src/code_actions.ml

+2-2
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ let compute server (params : CodeActionParams.t) =
118118
let open_related = Action_open_related.for_uri capabilities doc in
119119
let* merlin_jumps =
120120
match state.configuration.data.merlin_jump_code_actions with
121-
| Some { enable = true } | None -> Action_jump.code_actions doc params capabilities
122-
| Some { enable = false } -> Fiber.return []
121+
| Some { enable = true } -> Action_jump.code_actions doc params capabilities
122+
| Some { enable = false } | None -> Fiber.return []
123123
in
124124
(match Document.syntax doc with
125125
| Ocamllex | Menhir | Cram | Dune ->

0 commit comments

Comments
 (0)