Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jchavarri committed May 3, 2024
1 parent e0c7534 commit 229c9c5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ocaml-lsp-server/src/merlin_config.ml
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,10 @@ module Process = struct
Unix.set_close_on_exec stdin_w;
let pid =
let argv =
let shared = [ prog; "ocaml-merlin"; "--no-print-directory" ] in
match !dune_context with
| None -> argv
| Some dune_context -> argv @ [ "--context"; dune_context ]
| None -> shared
| Some dune_context -> shared @ [ "--context"; dune_context ]
in
Pid.of_int
(Spawn.spawn
Expand Down Expand Up @@ -250,7 +251,7 @@ module Dot_protocol_io =
let should_read_dot_merlin = ref false

type db =
{ running : (String.t, entry) Table.t
{ running : (string, entry) Table.t
; pool : Fiber.Pool.t
}

Expand Down

0 comments on commit 229c9c5

Please sign in to comment.