From c4e022971df6179647206592b6d7e452c12161d0 Mon Sep 17 00:00:00 2001 From: Gokul Soumya Date: Tue, 5 Jul 2022 09:05:11 +0530 Subject: [PATCH] Remove source from diagnostic picker display It is usually the name of the LSP and doesn't add much useful information. --- helix-term/src/commands/lsp.rs | 5 ----- 1 file changed, 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)),