feat: Make the diagnostic picker display the resposible LSP

Signed-off-by: RmStorm <roaldstorm@gmail.com>
pull/13758/head
RmStorm 2025-06-13 11:32:03 +02:00
parent 62f270e5d2
commit 7c7cca1b86
1 changed files with 3 additions and 0 deletions

View File

@ -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(),