diff --git a/src/rescript-editor-support/Hover.re b/src/rescript-editor-support/Hover.re index 8dcada60..c4a8b5f6 100644 --- a/src/rescript-editor-support/Hover.re +++ b/src/rescript-editor-support/Hover.re @@ -152,7 +152,11 @@ let newHover = (~rootUri, ~file: SharedTypes.file, ~getModule, loc) => { ), docstring, ] - | `Attribute(_) => [Some(typeString), docstring] + | `Attribute({typ}) => [ + // TODO: show complete type def + Some(Shared.typeToString(typ)), + docstring, + ] }; let parts = parts @ [Some(uri)];