Skip to content

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

Open
anmonteiro wants to merge 1 commit into
ocaml:mainfrom
anmonteiro:fix/merlin-exact-match-precedence
Open

fix(merlin): prefer exact configuration matches#16194
anmonteiro wants to merge 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.

@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 <anmonteiro@gmail.com>
@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 <anmonteiro@gmail.com>
@anmonteiro
anmonteiro force-pushed the fix/merlin-exact-match-precedence branch from c1aa615 to 976ecc7 Compare August 25, 2026 05:30
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.

1 participant