aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui/text.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/ui/text.rs')
-rw-r--r--helix-term/src/ui/text.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/helix-term/src/ui/text.rs b/helix-term/src/ui/text.rs
index 0d7cd0ed..249cf89e 100644
--- a/helix-term/src/ui/text.rs
+++ b/helix-term/src/ui/text.rs
@@ -13,12 +13,10 @@ impl Text {
}
}
impl Component for Text {
- fn render(&self, area: Rect, surface: &mut Surface, cx: &mut Context) {
+ fn render(&self, area: Rect, surface: &mut Surface, _cx: &mut Context) {
use tui::widgets::{Paragraph, Widget, Wrap};
let contents = tui::text::Text::from(self.contents.clone());
- let style = cx.editor.theme.get("ui.text");
-
let par = Paragraph::new(contents).wrap(Wrap { trim: false });
// .scroll(x, y) offsets