diff options
author | Blaž Hrastnik | 2021-03-05 07:07:46 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-03-05 07:07:46 +0000 |
commit | 1d42b959159751078b3bbc159a45cebe51d924fa (patch) | |
tree | a18b9b752a2b6a5e32320278b54d587b870a1d30 /helix-term/src/commands.rs | |
parent | a5c4314940e2ef875026f52ffb6f285725d3fb02 (diff) |
ui: wip: Markdown doc renderer.
Diffstat (limited to 'helix-term/src/commands.rs')
-rw-r--r-- | helix-term/src/commands.rs | 2 |
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)); } |