Replies: 1 comment
-
|
Use the multi-select API inside local picker = pickers.new(opts, { finder = finder, sorter = sorters.get_fuzzy_file() })
picker:find()
vim.schedule(function()
for i = 1, #spec.items do
picker:add_selection(picker:get_row(i - 1))
end
end)
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'am writting a plugin and I am having a problem related to telescope.
At some point, a command of my plugin open telescope to allow the user to selected one or more entry. What I'd like to do is having all the entry selected by default. I tried to find a solution but I'am still clueless on how to do it ?
Do you have any solution ?
Here is a simplified version of my code:
Beta Was this translation helpful? Give feedback.
All reactions