Skip to content
This repository was archived by the owner on Apr 24, 2021. It is now read-only.

Commit edf8d6b

Browse files
amiraliescristianoc
authored andcommitted
Remove semicolon in module top level preview
1 parent 7380910 commit edf8d6b

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/rescript-editor-support/Hover.re

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,9 @@ let showModuleTopLevel =
2525
/*** TODO pretty print module contents */
2626
| SharedTypes.MType({decl}) =>
2727
" " ++ (decl |> Shared.declToString(item.name.txt))
28-
| Module(_) => " module " ++ item.name.txt ++ ";"
28+
| Module(_) => " module " ++ item.name.txt
2929
| MValue(typ) =>
30-
" let "
31-
++ item.name.txt
32-
++ ": "
33-
++ (typ |> Shared.typeToString) /* TODO indent */
34-
++ ";"
30+
" let " ++ item.name.txt ++ ": " ++ (typ |> Shared.typeToString) /* TODO indent */
3531
}
3632
)
3733
|> String.concat("\n");

0 commit comments

Comments
 (0)