fn draw(diagnostics: Vec<Diagnostic>) -> String
Draws the status line with diagnostic and Git change information.