feat(trash): add synchronized trash support for windows (#2335)
* feat(trash): support 'trash' on Windows * feat(trash): need sync wait on Windows to avoid switch to other app from nvim process * doc: remove 'Only available for UNIX' * doc(trash): highlight 'Trash' on Windows is syncrhonized * doc(trash): highlight 'trash' on Windows is synchronized * doc(trash): remove dot * fix(trash): check for unix and windows * fix(trash): comment --------- Co-authored-by: Alexander Courtis <alex@courtis.org>
This commit is contained in:
@@ -1148,7 +1148,6 @@ Configuration options for trashing.
|
||||
*nvim-tree.trash.cmd*
|
||||
The command used to trash items (must be installed on your system).
|
||||
The default is shipped with glib2 which is a common linux package.
|
||||
Only available for UNIX.
|
||||
Type: `string`, Default: `"gio trash"`
|
||||
|
||||
*nvim-tree.actions*
|
||||
@@ -2293,7 +2292,7 @@ macOS
|
||||
system.
|
||||
|
||||
Windows WSL and PowerShell
|
||||
- Trash is unavailable
|
||||
- Trash is synchronized
|
||||
- Executable file detection is disabled as this is non-performant and can
|
||||
freeze nvim
|
||||
- Some filesystem watcher error related to permissions will not be reported
|
||||
|
||||
Reference in New Issue
Block a user