Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-view/src/ui/markdown.rs')
-rw-r--r--helix-view/src/ui/markdown.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/helix-view/src/ui/markdown.rs b/helix-view/src/ui/markdown.rs
index 760241d5..b7d1cec8 100644
--- a/helix-view/src/ui/markdown.rs
+++ b/helix-view/src/ui/markdown.rs
@@ -282,6 +282,9 @@ impl compositor::term::Render for Markdown {
}
}
+#[cfg(feature = "ui")]
+impl compositor::ui::Render for Markdown {}
+
impl Component for Markdown {
#[cfg(not(feature = "term"))]
fn required_size(&mut self, viewport: (u16, u16)) -> Option<(u16, u16)> {