ReasonML Style function type signature in Rescript-vscode

How do we get syntax highlighting in rescript-vscode. I can see here https://marketplace.visualstudio.com/items?itemName=chenglou92.rescript-vscode and in my editor that it works on hover but how do you get it to show up as it does in reasonml-vscode or ocaml-platform? Possible?

Thanks.

Hook up the rescript-vscode LSP that is located in the rescript-vscode installation folder and use it with e.g. reason-vscode (which allows overriding the LSP path afaik).

2 Likes

Sounds like might take a minute. Will report when i get to it. Thank you.

Hi @ryyppy is the proposed solution still the thing to do for this? Just remembered that I wanted it.

This is what I am trying to see, the type signature above the @obj:

Thank you.