aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/commands.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-03-05 07:07:46 +0000
committerBlaž Hrastnik2021-03-05 07:07:46 +0000
commit1d42b959159751078b3bbc159a45cebe51d924fa (patch)
treea18b9b752a2b6a5e32320278b54d587b870a1d30 /helix-term/src/commands.rs
parenta5c4314940e2ef875026f52ffb6f285725d3fb02 (diff)
ui: wip: Markdown doc renderer.
Diffstat (limited to 'helix-term/src/commands.rs')
-rw-r--r--helix-term/src/commands.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index d45e7168..e6b7cebd 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -1179,7 +1179,7 @@ pub fn hover(cx: &mut Context) {
// skip if contents empty
- let contents = ui::Text::new(contents);
+ let contents = ui::Markdown::new(contents);
let mut popup = Popup::new(Box::new(contents));
cx.push_layer(Box::new(popup));
}