Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix info colors used for hint diagnostics (#54046)
Malin von Matern9e2c493b865b
diff --git a/crates/diagnostics/src/diagnostic_renderer.rs b/crates/diagnostics/src/diagnostic_renderer.rsindex eaf41456084..21da60b5161 100644--- a/crates/diagnostics/src/diagnostic_renderer.rs+++ b/crates/diagnostics/src/diagnostic_renderer.rs@@ -206,7 +206,7 @@ impl DiagnosticBlock {(status_colors.warning_background, status_colors.warning)}DiagnosticSeverity::INFORMATION => (status_colors.info_background, status_colors.info),- DiagnosticSeverity::HINT => (status_colors.hint_background, status_colors.info),+ DiagnosticSeverity::HINT => (status_colors.hint_background, status_colors.hint),_ => (status_colors.ignored_background, status_colors.ignored),};let settings = ThemeSettings::get_global(cx);diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rsindex 7897ccf8984..b2d3d354660 100644--- a/crates/editor/src/editor.rs+++ b/crates/editor/src/editor.rs@@ -29378,7 +29378,7 @@ pub fn diagnostic_style(severity: lsp::DiagnosticSeverity, colors: &StatusColorslsp::DiagnosticSeverity::ERROR => colors.error,lsp::DiagnosticSeverity::WARNING => colors.warning,lsp::DiagnosticSeverity::INFORMATION => colors.info,- lsp::DiagnosticSeverity::HINT => colors.info,+ lsp::DiagnosticSeverity::HINT => colors.hint,_ => colors.ignored,}}