Remove source from diagnostic picker display
It is usually the name of the LSP and doesn't add much useful information.
This commit is contained in:
parent
e0cf19c612
commit
c4e022971d
1 changed files with 0 additions and 5 deletions
|
@ -132,11 +132,6 @@ impl ui::menu::Item for PickerDiagnostic {
|
|||
.into_owned();
|
||||
|
||||
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::raw(" - "),
|
||||
Span::styled(code, style.add_modifier(Modifier::BOLD)),
|
||||
|
|
Loading…
Add table
Reference in a new issue