fix(neo-tree): correct arguments for trashing

This commit is contained in:
2025-04-15 10:26:56 +02:00
parent 32f6707c44
commit 472845abba
+2 -2
View File
@@ -107,7 +107,7 @@ return {
return
end
vim.fn.system({ "gio trash", vim.fn.fnameescape(path) })
vim.fn.system({ "gio", "trash", vim.fn.fnameescape(path) })
require("neo-tree.sources.manager").refresh(state.name)
end)
end,
@@ -133,7 +133,7 @@ return {
end
for _, node in ipairs(selected_nodes) do
vim.fn.system({
"gio trash",
"gio", "trash",
vim.fn.fnameescape(node.path),
})
end