Skip to content

Commit

Permalink
-cmt-path to cmt_path (fix #1330)
Browse files Browse the repository at this point in the history
  • Loading branch information
trefis committed Apr 28, 2021
1 parent f3565d0 commit 08e2447
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ git version
- fix location of patterns in Occurrences (#1324, fixes
ocaml/ocaml-lsp#375)
- fix location of module definitions done via functors (#1329, fixes #1199)
- fix -cmt-path dirs mistakenly added to build path (#1330)

merlin 4.2
==========
Expand Down
2 changes: 1 addition & 1 deletion src/kernel/mconfig.ml
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ let merlin_flags = [
(
"-cmt-path",
marg_path (fun dir merlin ->
{merlin with build_path = dir :: merlin.cmt_path}),
{merlin with cmt_path = dir :: merlin.cmt_path}),
"<dir> Add <dir> to merlin cmt path"
);
(
Expand Down

0 comments on commit 08e2447

Please sign in to comment.