Skip to content

Commit

Permalink
Remove source from diagnostic picker display
Browse files Browse the repository at this point in the history
It is usually the name of the LSP and doesn't add much
useful information.
  • Loading branch information
sudormrfbin authored and archseer committed Jul 6, 2022
1 parent e0cf19c commit c4e0229
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions helix-term/src/commands/lsp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
Expand Down

0 comments on commit c4e0229

Please sign in to comment.