Skip to content

Commit 3099d6d

Browse files
committed
Add padding between module docstring and type hover information
1 parent e45bd88 commit 3099d6d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

analysis/src/Hover.ml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ let showModuleTopLevel ~docstring ~isType ~name (topLevel : Module.item list) =
2626
let doc =
2727
match docstring with
2828
| [] -> ""
29-
| _ :: _ -> "\n" ^ (docstring |> String.concat "\n") ^ Markdown.divider
29+
| _ :: _ ->
30+
"\n"
31+
^ (docstring |> String.concat "\n")
32+
^ Markdown.divider ^ Markdown.spacing
3033
in
3134
Some (doc ^ full)
3235

0 commit comments

Comments
 (0)