forked from ocaml/dune
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Communicate READER to merlin for configured dialects (ocaml#8567)
* refactor: best effort to track orig module sources This is going to be useful for more granular merlin configs. Signed-off-by: Andrey Popp <[email protected]> * refactor: per file merlin configs, communicate merlin reader Signed-off-by: Andrey Popp <[email protected]> * test: promote merlin tests Signed-off-by: Andrey Popp <[email protected]> * test: add merlin/dialect.t tests Signed-off-by: Andrey Popp <[email protected]> * test: add a test focusing on merlin's configuration various granularity levels Signed-off-by: Ulysse Gérard <[email protected]> Signed-off-by: Andrey Popp <[email protected]> Signed-off-by: Antonio Nuno Monteiro <[email protected]> * test: tweak the prev commit (to be squashed) Signed-off-by: Andrey Popp <[email protected]> * wip: Module.File.t not to encode orig_path Signed-off-by: Andrey Popp <[email protected]> * merlin: lookup fallback with extensionless filename Relying on `.ml` extension present is not something we can do, instead store same config with and without extension and on lookup do a fallback with no extension. Signed-off-by: Andrey Popp <[email protected]> * Apply suggestions from code review Co-authored-by: Antonio Nuno Monteiro <[email protected]> Signed-off-by: Andrey Popp <[email protected]> * Extract `handle_ml_kind` to the outside scope. Co-authored-by: Antonio Nuno Monteiro <[email protected]> Signed-off-by: Andrey Popp <[email protected]> * Use Filename.Extension.t for file extensions Co-authored-by: Antonio Nuno Monteiro <[email protected]> Signed-off-by: Andrey Popp <[email protected]> * tests: update merlin/dialect tests Signed-off-by: Andrey Popp <[email protected]> * More descriptive naming in Module Signed-off-by: Andrey Popp <[email protected]> * promote tests due to dune 3.16 Signed-off-by: Andrey Popp <[email protected]> * merlin: test merlin config for promoted modules Signed-off-by: Andrey Popp <[email protected]> * doc: describe changes Signed-off-by: Andrey Popp <[email protected]> --------- Signed-off-by: Andrey Popp <[email protected]> Signed-off-by: Ulysse Gérard <[email protected]> Signed-off-by: Antonio Nuno Monteiro <[email protected]> Co-authored-by: Ulysse Gérard <[email protected]> Co-authored-by: Antonio Nuno Monteiro <[email protected]>
- Loading branch information
1 parent
91772ec
commit c46ace9
Showing
31 changed files
with
1,148 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- merlin: add optional `(merlin_reader CMD)` construct to `(dialect)` stanza to | ||
configure a merlin reader (#8567, @andreypopp) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.