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
This commit is contained in:
Stephen Broadley 2024-11-13 01:27:31 +00:00
parent d8e82eed49
commit 8e95c510f9

View File

@ -83,7 +83,7 @@ pub fn diagnostic<'doc>(
Some(Severity::Info) => info,
Some(Severity::Hint) => hint,
};
write!(out, "{}", indicator).ok();
out.push(indicator);
style
})
},