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

Inlay hint upstreaming #1812

Closed xvw closed 2 months ago

xvw commented 2 months ago

Currently, the command returns a list of postion * label and the label is computed in the sense of lsp : : type_expr but I guess we can just return the type without any formatting and let's the LSP server prefixing it? WDYT @voodoos?

voodoos commented 2 months ago

Yes, I agree that we should return the raw type.

xvw commented 2 months ago

Yes, I agree that we should return the raw type.

Fixed in b785dcfbabcf0f6472bccc87e2517d011df44aef