sidebar.nvim
sidebar.nvim copied to clipboard
[Bug]: File Trash
Deleting files throws an error because trash directory does not exist.
I saw that fs.rename is used instead of fs_unlink like nvim-tree.lua.
Which operating system are you using?
arch
I have the same problem on macOS 12.2.1. Can we add a setting to choose whether we want to move things to the trash, or delete them directly?
if trash of folder don't exist, create trash of folder, then delete file? Why don't you fix the code like this?