如何在 tuareg 模式下获取变量的签名?

How to get signatures for the variable at point in tuareg-mode?

我们可以使用merlin来完成自动完成,签名会显示在弹出窗口中window;此外,我们可以使用 Ctrl-h? 在模块 during completion.

中获取额外定义的变量

但是对于代码审查,我怎样才能得到这些签名?我尝试了 tuareg-list-functions 和其他一些方法,但没有成功。

使用 merlin,Ctrl-c Ctrl-t。请参阅 the merlin emacs manual