aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
authorGokul Soumya2022-07-05 03:35:11 +0000
committerBlaž Hrastnik2022-07-06 11:06:46 +0000
commitc4e022971df6179647206592b6d7e452c12161d0 (patch)
treeab2c6ee2a3a32c4e33d7fb8c7d4b858f4482d2af /helix-term
parente0cf19c61205ff3589fe60550e64d4102d6a2dc5 (diff)
Remove source from diagnostic picker display
It is usually the name of the LSP and doesn't add much useful information.
Diffstat (limited to 'helix-term')
-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)),