mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 09:26:19 +04:00
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
@ -132,11 +132,6 @@ fn label(&self, styles: &Self::Data) -> Spans {
|
||||
.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…
Reference in New Issue
Block a user