ocaml / merlin

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

completion breaks if a module path has whitespace between periods #896

Open struktured opened 5 years ago

struktured commented 5 years ago

Completion of values within a module breaks if you add whitespace within a nested module. For example:

let _ = X.Y.Z.<completion works fine>
let _ = X.Y.
    Z. <completion no longer works>

This bug has only been observed and reproduced in vim. For emacs its behavior is not known.

raphael-proust commented 5 years ago

Can reproduce: It still autocompletes, but with candidates unrelated to the path of module.
E.g., it autocompletes to Bigarray if you have a path A. B. and Callback* and Camlinternal* if you have A.B. C..

@struktured do you observe other breakages?

struktured commented 5 years ago

@raphael-proust no other known breakage besides what you mentioned. Thanks for verifying.