Commit 40c5106 1 parent 83cdcd6 commit 40c5106 Copy full SHA for 40c5106
File tree 4 files changed +12
-4
lines changed
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
+
1
9
# 1.20.0
2
10
3
11
## Features
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ possible and does not make any assumptions about IO.
45
45
( description " An LSP server for OCaml." )
46
46
( depends
47
47
yojson
48
- base
48
+ ( base ( >= v0.16.0 ) )
49
49
( lsp ( = :version ) )
50
50
( jsonrpc ( = :version ) )
51
51
( 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"
21
21
depends: [
22
22
"dune" {>= "3.0"}
23
23
"yojson"
24
- "base"
24
+ "base" {>= "v0.16.0"}
25
25
"lsp" {= version}
26
26
"jsonrpc" {= version}
27
27
"re" {>= "1.5.0"}
Original file line number Diff line number Diff line change @@ -118,8 +118,8 @@ let compute server (params : CodeActionParams.t) =
118
118
let open_related = Action_open_related. for_uri capabilities doc in
119
119
let * merlin_jumps =
120
120
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 []
123
123
in
124
124
(match Document. syntax doc with
125
125
| Ocamllex | Menhir | Cram | Dune ->
You can’t perform that action at this time.
0 commit comments