aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-03-11 07:31:49 +0000
committerBlaž Hrastnik2021-03-11 07:31:49 +0000
commit9dcfe25e4a1868a4936194faf1d753d91d85430a (patch)
treec74f469e83b848c10545819c0fdc511f26457993 /helix-view/src
parentc7ccb432ef174e2eeadafe19dfb8b7c978062dc8 (diff)
Use diagnostic.severity to distinguish between error colors.
Diffstat (limited to 'helix-view/src')
-rw-r--r--helix-view/src/theme.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/helix-view/src/theme.rs b/helix-view/src/theme.rs
index ad15f6f2..0efd329c 100644
--- a/helix-view/src/theme.rs
+++ b/helix-view/src/theme.rs
@@ -160,6 +160,9 @@ impl Default for Theme {
"ui.popup" => Style::default().bg(Color::Rgb(40, 23, 51)), // revolver
"warning" => Style::default().fg(Color::Rgb(255, 205, 28)),
+ "error" => Style::default().fg(Color::Rgb(244, 120, 104)),
+ "info" => Style::default().fg(Color::Rgb(111, 68, 240)),
+ "hint" => Style::default().fg(Color::Rgb(204, 204, 204)),
};
let scopes = mapping.keys().map(ToString::to_string).collect();