on master help sign in
Remove source from diagnostic picker display

It is usually the name of the LSP and doesn't add much useful information.

commitc4e022971df6179647206592b6d7e452c12161d0 authorGokul Soumya <gokulps15@gmail.com> dateTue 5 Jul 2022, 09:05 (4 years ago) parente0cf19c
1 file changed−5
helix-term/src/commands/lsp.rs−5
helix-term/src/commands/lsp.rs−5
@@ -132,11 +132,6 @@ impl ui::menu::Item for PickerDiagnostic {
132132 .into_owned();
133133
134134 Spans::from(vec![
135− Span::styled(
136− self.diag.source.clone().unwrap_or_default(),
137− style.add_modifier(Modifier::BOLD),
138− ),
139− Span::raw(": "),
140135 Span::styled(truncated_path, style),
141136 Span::raw(" - "),
142137 Span::styled(code, style.add_modifier(Modifier::BOLD)),