rebase on main

pull/11081/head
Schuyler Mortimer 5 months ago
parent 877c332439
commit efb5856e30

@ -1412,8 +1412,10 @@ fn lsp_workspace_command(
let picker = ui::Picker::new( let picker = ui::Picker::new(
commands, commands,
(), (),
move |cx, LsIdCommand(ls_id, command), _action| { move |cx, ls_id_command: Option<&LsIdCommand>, _action| {
let Some(c) = command else { return }; let Some(LsIdCommand(ls_id, c)) = ls_id_command else {
return;
};
execute_lsp_command(cx.editor, *ls_id, c.clone()); execute_lsp_command(cx.editor, *ls_id, c.clone());
}, },
); );

Loading…
Cancel
Save