diff --git a/helix-view/src/editor/config.rs b/helix-view/src/editor/config.rs index db0fbe63..52528ad2 100644 --- a/helix-view/src/editor/config.rs +++ b/helix-view/src/editor/config.rs @@ -162,6 +162,19 @@ pub struct Diagnostic { error: Option, } +// NOTE: #6646 can be achieved by uncommenting this or adding the symbols +// to the `map_or` default. +// impl Default for Diagnostic { +// fn default() -> Self { +// Self { +// hint: Some(String::from("○")), +// info: Some(String::from("●")), +// warning: Some(String::from("▲")), +// error: Some(String::from("■")), +// } +// } +// } + impl Diagnostic { const DEFAULT: &'static str = "●";