Skip to content

Commit

Permalink
Fix merlin not using given path
Browse files Browse the repository at this point in the history
  • Loading branch information
KoviRobi committed Oct 19, 2024
1 parent ed45f5f commit cd5771a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/completor/merlin.ml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ let call merlin command flags printer =
let args = merlin.bin_path :: mode :: command
:: "-dot-merlin" :: merlin.dot_merlin :: flags in
info (fun pp -> pp "Merlin command: %s" (String.concat " " args)) ;
let proc = Lwt_process.open_process ("ocamlmerlin", Array.of_list args) in
let proc = Lwt_process.open_process (merlin.bin_path, Array.of_list args) in
let%lwt () = printer proc#stdin in
let%lwt () = Lwt_io.flush proc#stdin in
let%lwt () = Lwt_io.close proc#stdin in
Expand Down

0 comments on commit cd5771a

Please sign in to comment.