mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 02:38:46 +00:00
fix(picker): select_and_prev should use list_up instead of list_down (#471)
## Description Fix the picker select_and_prev functionality.
This commit is contained in:
parent
2e8e8ca36f
commit
b993be762b
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ end
|
|||
--- and moves the cursor to the prev item.
|
||||
function M.select_and_prev(picker)
|
||||
picker.list:select()
|
||||
M.list_down(picker)
|
||||
M.list_up(picker)
|
||||
end
|
||||
|
||||
function M.cmd(picker, item)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue