summaryrefslogtreecommitdiff
path: root/helix-view/src/theme.rs
diff options
context:
space:
mode:
authorA-Walrus2022-08-11 11:10:29 +0000
committerPascal Kuthe2022-10-01 15:00:34 +0000
commit3ad7d543ca17963f0839b1a6cd8abacdb5c60cf7 (patch)
tree8b754434eb9d3d21732c92bab64228efe2d283f4 /helix-view/src/theme.rs
parent999b45b28c157418c20a9a8cd9219db6ce0beac7 (diff)
Add separate color for underlines
Diffstat (limited to 'helix-view/src/theme.rs')
-rw-r--r--helix-view/src/theme.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-view/src/theme.rs b/helix-view/src/theme.rs
index fa5fa702..5ce1b2c5 100644
--- a/helix-view/src/theme.rs
+++ b/helix-view/src/theme.rs
@@ -269,6 +269,7 @@ impl ThemePalette {
match name.as_str() {
"fg" => *style = style.fg(self.parse_color(value)?),
"bg" => *style = style.bg(self.parse_color(value)?),
+ "underline" => *style = style.underline(self.parse_color(value)?),
"modifiers" => {
let modifiers = value
.as_array()