aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui/markdown.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-05-07 08:38:25 +0000
committerBlaž Hrastnik2021-05-07 08:42:09 +0000
commitf0712479cbdff239347049461be1901e13950044 (patch)
treeb1837b7336a45c21c1baccfd8cca9aac76d2b3c5 /helix-term/src/ui/markdown.rs
parentf87dee926a08162f937cb08454c452c7c4dfdb77 (diff)
Define text color (mostly) in theme.toml.
Diffstat (limited to 'helix-term/src/ui/markdown.rs')
-rw-r--r--helix-term/src/ui/markdown.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/markdown.rs b/helix-term/src/ui/markdown.rs
index 0b41e044..8d14841e 100644
--- a/helix-term/src/ui/markdown.rs
+++ b/helix-term/src/ui/markdown.rs
@@ -104,7 +104,7 @@ fn parse<'a>(contents: &'a str, theme: Option<&Theme>) -> tui::text::Text<'a> {
Some(span) => {
theme.get(theme.scopes()[span.0].as_str())
}
- None => Style::default().fg(Color::Rgb(164, 160, 232)), // lavender
+ None => text_style,
};
let mut slice = &text[start..end];