From 7c7cca1b8677bd6e945d56c1465e309d06d03e5e Mon Sep 17 00:00:00 2001 From: RmStorm Date: Fri, 13 Jun 2025 11:32:03 +0200 Subject: [PATCH] feat: Make the diagnostic picker display the resposible LSP Signed-off-by: RmStorm --- helix-term/src/commands/lsp.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/helix-term/src/commands/lsp.rs b/helix-term/src/commands/lsp.rs index 9c55c830c..55c751fc0 100644 --- a/helix-term/src/commands/lsp.rs +++ b/helix-term/src/commands/lsp.rs @@ -252,6 +252,9 @@ fn diag_picker( .into() }, ), + ui::PickerColumn::new("source", |item: &PickerDiagnostic, _| { + item.diag.source.clone().unwrap_or("".to_string()).into() + }), ui::PickerColumn::new("code", |item: &PickerDiagnostic, _| { match item.diag.code.as_ref() { Some(NumberOrString::Number(n)) => n.to_string().into(),