From 9dcfe25e4a1868a4936194faf1d753d91d85430a Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Thu, 11 Mar 2021 16:31:49 +0900 Subject: Use diagnostic.severity to distinguish between error colors. --- helix-view/src/theme.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'helix-view') 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(); -- cgit v1.2.3-70-g09d2