Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-term/src/commands/typed.rs')
-rw-r--r--helix-term/src/commands/typed.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/helix-term/src/commands/typed.rs b/helix-term/src/commands/typed.rs
index 232e5846..f65f9657 100644
--- a/helix-term/src/commands/typed.rs
+++ b/helix-term/src/commands/typed.rs
@@ -1404,7 +1404,12 @@ fn lsp_workspace_command(
let callback = async move {
let call: job::Callback = Callback::EditorCompositor(Box::new(
move |_editor: &mut Editor, compositor: &mut Compositor| {
- let columns = vec![];
+ let columns = vec![ui::PickerColumn::new(
+ "title",
+ |(_ls_id, command): &(_, helix_lsp::lsp::Command), _| {
+ command.title.as_str().into()
+ },
+ )];
let picker = ui::Picker::new(
columns,
0,