diff options
Diffstat (limited to 'crates/ra_lsp_server/src/main_loop')
-rw-r--r-- | crates/ra_lsp_server/src/main_loop/handlers.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs index 9006aa316..ee48d0cb8 100644 --- a/crates/ra_lsp_server/src/main_loop/handlers.rs +++ b/crates/ra_lsp_server/src/main_loop/handlers.rs | |||
@@ -485,7 +485,7 @@ pub fn handle_hover( | |||
485 | let res = Hover { | 485 | let res = Hover { |
486 | contents: HoverContents::Markup(MarkupContent { | 486 | contents: HoverContents::Markup(MarkupContent { |
487 | kind: MarkupKind::Markdown, | 487 | kind: MarkupKind::Markdown, |
488 | value: info.info.to_markup(), | 488 | value: crate::markdown::format_docs(&info.info.to_markup()), |
489 | }), | 489 | }), |
490 | range: Some(range), | 490 | range: Some(range), |
491 | }; | 491 | }; |