From 8e95c510f98e970a7540b57d4ab0e60b8bcaf66b Mon Sep 17 00:00:00 2001 From: Stephen Broadley Date: Wed, 13 Nov 2024 01:27:31 +0000 Subject: [PATCH] added configuration for diagnostic icons This is to aid accessibility. Some themes are not gread for colourblind people. With this configuration, they can easily change the icons that appear around the editor (gutter, statusbar) to make them easier to distinguish! small fix --- helix-view/src/gutter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-view/src/gutter.rs b/helix-view/src/gutter.rs index 946e8fae7..c2159be57 100644 --- a/helix-view/src/gutter.rs +++ b/helix-view/src/gutter.rs @@ -83,7 +83,7 @@ pub fn diagnostic<'doc>( Some(Severity::Info) => info, Some(Severity::Hint) => hint, }; - write!(out, "{}", indicator).ok(); + out.push(indicator); style }) },