Skip to content

Commit

Permalink
chore: add comment for default diagnostic symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
RoloEdits committed Dec 30, 2024
1 parent def0d38 commit c189762
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions helix-view/src/editor/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,19 @@ pub struct Diagnostic {
error: Option<String>,
}

// 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 = "●";

Expand Down

0 comments on commit c189762

Please sign in to comment.