Unnamed repository; edit this file 'description' to name the repository.
Remove source from diagnostic picker display
It is usually the name of the LSP and doesn't add much useful information.
Gokul Soumya 2022-07-06
parent e0cf19c · commit c4e0229
-rw-r--r--helix-term/src/commands/lsp.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/helix-term/src/commands/lsp.rs b/helix-term/src/commands/lsp.rs
index 7f82394a..2378ef16 100644
--- a/helix-term/src/commands/lsp.rs
+++ b/helix-term/src/commands/lsp.rs
@@ -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)),