aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--helix-term/src/commands/lsp.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/helix-term/src/commands/lsp.rs b/helix-term/src/commands/lsp.rs
index 2378ef16..81e16b22 100644
--- a/helix-term/src/commands/lsp.rs
+++ b/helix-term/src/commands/lsp.rs
@@ -132,11 +132,12 @@ impl ui::menu::Item for PickerDiagnostic {
.into_owned();
Spans::from(vec![
- Span::styled(truncated_path, style),
- Span::raw(" - "),
- Span::styled(code, style.add_modifier(Modifier::BOLD)),
+ Span::raw(truncated_path),
Span::raw(": "),
Span::styled(&self.diag.message, style),
+ Span::raw(" ("),
+ Span::styled(code, style.add_modifier(Modifier::BOLD)),
+ Span::raw(")"),
])
}
}