mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 18:58:12 +00:00
fix(explorer): clear selection after delete. Closes #898
This commit is contained in:
parent
95d3e7f961
commit
44733eaa78
1 changed files with 1 additions and 0 deletions
|
@ -586,6 +586,7 @@ M.actions = {
|
|||
Snacks.notify.error("Failed to delete `" .. path .. "`:\n- " .. err)
|
||||
end
|
||||
end
|
||||
picker.list:set_selected() -- clear selection
|
||||
state:update({ force = true })
|
||||
end)
|
||||
end,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue