Skip to content

fix(merlin): generate mode-aware configurations - #16192

Merged
anmonteiro merged 1 commit into
ocaml:mainfrom
anmonteiro:fix/merlin-mode-aware-configurations
Aug 25, 2026
Merged

anmonteiro merged 1 commit into
ocaml:mainfrom
anmonteiro:fix/merlin-mode-aware-configurations

Conversation

@anmonteiro

@anmonteiro anmonteiro commented Aug 25, 2026 •

Copy link
Copy Markdown
Collaborator

Generate and persist both OCaml and Melange Merlin configurations for mixed-mode libraries while preserving singular lookup behavior.

Builds on #15493. Exact-match precedence is handled in #16194.

Codex session: 019ea5b2-acde-7141-bcbd-e3c833c8eefe.

@anmonteiro
anmonteiro force-pushed the fix/merlin-mode-aware-configurations branch from 77f6b7d to 44a1d4e Compare August 25, 2026 03:35
Retain both OCaml and Melange configurations for mixed-mode libraries and expose all generated configurations through Merlin debug output.

Signed-off-by: Antonio Nuno Monteiro <[email protected]>
@anmonteiro
anmonteiro force-pushed the fix/merlin-mode-aware-configurations branch from 44a1d4e to c5c2f87 Compare August 25, 2026 03:51
@anmonteiro
anmonteiro merged commit ca4ad73 into ocaml:main Aug 25, 2026
38 of 39 checks passed
@anmonteiro
anmonteiro deleted the fix/merlin-mode-aware-configurations branch August 25, 2026 04:55
@Alizter Alizter added this to the 3.25.0 milestone Aug 25, 2026
anmonteiro added a commit that referenced this pull request Aug 31, 2026
Select all exact and copy-line matches across a Merlin configuration
group before considering fallback lookups by filename without extension.
Keep singular lookup as the default-first projection.

Builds on #16192.

Signed-off-by: Antonio Nuno Monteiro <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants