Skip to content

fix(merlin): prefer exact configuration matches - #16194

Merged
anmonteiro merged 1 commit into
ocaml:mainfrom
anmonteiro:fix/merlin-exact-match-precedence
Aug 31, 2026
Merged

anmonteiro merged 1 commit into
ocaml:mainfrom
anmonteiro:fix/merlin-exact-match-precedence

Conversation

@anmonteiro

@anmonteiro anmonteiro commented Aug 25, 2026 •

Copy link
Copy Markdown
Collaborator

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.

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

@anmonteiro
anmonteiro force-pushed the fix/merlin-exact-match-precedence branch from 3b3972e to 10bb672 Compare August 25, 2026 04:24
anmonteiro added a commit that referenced this pull request Aug 25, 2026
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.

Signed-off-by: Antonio Nuno Monteiro <[email protected]>
@anmonteiro
anmonteiro force-pushed the fix/merlin-exact-match-precedence branch from 10bb672 to cbf64cc Compare August 25, 2026 04:57
@anmonteiro anmonteiro assigned anmonteiro and unassigned anmonteiro Aug 25, 2026
@anmonteiro
anmonteiro force-pushed the fix/merlin-exact-match-precedence branch 2 times, most recently from 9340fa1 to c1aa615 Compare August 25, 2026 05:19
Prefer exact or copy-line matches across a configuration group before considering fallback lookups by filename without extension.

Signed-off-by: Antonio Nuno Monteiro <[email protected]>
@anmonteiro
anmonteiro force-pushed the fix/merlin-exact-match-precedence branch from c1aa615 to 976ecc7 Compare August 25, 2026 05:30
@anmonteiro
anmonteiro merged commit d886d39 into ocaml:main Aug 31, 2026
38 checks passed
@anmonteiro
anmonteiro deleted the fix/merlin-exact-match-precedence branch August 31, 2026 06:06
@Alizter Alizter added this to the 3.25.0 milestone Sep 1, 2026
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