mirror of https://github.com/helix-editor/helix
Remove source from diagnostic picker display
It is usually the name of the LSP and doesn't add much useful information.pull/2988/head
parent
e0cf19c612
commit
c4e022971d
|
@ -132,11 +132,6 @@ impl ui::menu::Item for PickerDiagnostic {
|
||||||
.into_owned();
|
.into_owned();
|
||||||
|
|
||||||
Spans::from(vec![
|
Spans::from(vec![
|
||||||
Span::styled(
|
|
||||||
self.diag.source.clone().unwrap_or_default(),
|
|
||||||
style.add_modifier(Modifier::BOLD),
|
|
||||||
),
|
|
||||||
Span::raw(": "),
|
|
||||||
Span::styled(truncated_path, style),
|
Span::styled(truncated_path, style),
|
||||||
Span::raw(" - "),
|
Span::raw(" - "),
|
||||||
Span::styled(code, style.add_modifier(Modifier::BOLD)),
|
Span::styled(code, style.add_modifier(Modifier::BOLD)),
|
||||||
|
|
Loading…
Reference in New Issue