Skip to content

Commit 8b47925

Browse files
authored
Minor patch for Jump codeactions (#1391)
1 parent 7958ae9 commit 8b47925

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ocaml-lsp-server/src/code_actions.ml

Lines changed: 2 additions & 2 deletions
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 } -> Action_jump.code_actions doc params capabilities
122-
| _ -> Fiber.return []
121+
| Some { enable = true } | None -> Action_jump.code_actions doc params capabilities
122+
| Some { enable = false } -> Fiber.return []
123123
in
124124
(match Document.syntax doc with
125125
| Ocamllex | Menhir | Cram | Dune ->

0 commit comments

Comments
 (0)