bug: Multiple actions that include picker_explorer/files/recent
not working
#1501
Labels
bug
Something isn't working
picker_explorer/files/recent
not working
#1501
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.11.0-dev-1897+g47cfe901d7
Operating system/version
Linux Mint 21.3
Describe the bug
Defining multiple actions for
snacks.picker.projects
not working when you includepicker_explorer/files/recent
in the table likeconfirm = { "load_session", "picker_explorer" }
.Doing a print here
snacks.nvim/lua/snacks/picker/actions.lua
Line 265 in bc0630e
files
.Also doing the following
confirm = { "picker_explorer", "load_session" }
throws an error about not being able to concatenate because of value at first index beingnil
at this point in codesnacks.nvim/lua/snacks/picker/core/actions.lua
Lines 103 to 108 in bc0630e
I managed to make it work locally with the following patch
but am not confident this is 100% the correct solution and will not cause other side-effects.
Steps To Reproduce
Put the following in your personal configuration
and observe that always the
picker_files
is opened.Expected Behavior
Should open the explorer instead of the files picker.
Doing
also works correctly.
Repro
The text was updated successfully, but these errors were encountered: