File tree Expand file tree Collapse file tree 4 files changed +12
-4
lines changed Expand file tree Collapse file tree 4 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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) )
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ bug-reports: "https://github.com/ocaml/ocaml-lsp/issues"
2121depends: [
2222 "dune" {>= "3.0"}
2323 "yojson"
24- "base"
24+ "base" {>= "v0.16.0"}
2525 "lsp" {= version}
2626 "jsonrpc" {= version}
2727 "re" {>= "1.5.0"}
Original file line number Diff line number Diff 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 ->
You can’t perform that action at this time.
0 commit comments