Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-view/src/editor.rs')
| -rw-r--r-- | helix-view/src/editor.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs index be221899..eab291e4 100644 --- a/helix-view/src/editor.rs +++ b/helix-view/src/editor.rs @@ -497,6 +497,8 @@ pub struct StatusLineConfig { pub right: Vec<StatusLineElement>, pub separator: String, pub mode: ModeConfig, + pub diagnostics: Vec<Severity>, + pub workspace_diagnostics: Vec<Severity>, } impl Default for StatusLineConfig { @@ -521,6 +523,8 @@ impl Default for StatusLineConfig { ], separator: String::from("│"), mode: ModeConfig::default(), + diagnostics: vec![Severity::Warning, Severity::Error], + workspace_diagnostics: vec![Severity::Warning, Severity::Error], } } } |