Skip to main content

diagnostic_glyph_and_style

Function diagnostic_glyph_and_style 

Source
pub fn diagnostic_glyph_and_style(
    theme: &Theme,
    severity: DiagnosticSeverity,
) -> (char, Style)
Expand description

Resolve the per-severity rendering bits from the theme. Returns (glyph, style).