ocaml / merlin

Context sensitive completion for OCaml in Vim and Emacs
https://ocaml.github.io/merlin/
MIT License
1.59k stars 232 forks source link

`WRAPPING_PREFIX` directive #1788

Closed liam923 closed 5 months ago

liam923 commented 5 months ago

Add a WRAPPING_PREFIX directive. When used, the prefix will be appended to the name of the current unit. This PR also makes two other changes:

  1. Add a test for project-wide occurrences on a directory that has prefixed module names, using the UNIT_NAME and WRAPPING_PREFIX directives.
  2. Fix a bug with UNIT_NAME.