diff --git a/lua/nxvim/plugins/neo-tree.lua b/lua/nxvim/plugins/neo-tree.lua index 2197123..856cbd2 100644 --- a/lua/nxvim/plugins/neo-tree.lua +++ b/lua/nxvim/plugins/neo-tree.lua @@ -131,7 +131,7 @@ local config = { inputs.confirm(msg, function(confirmed) if not confirmed then return end for _, node in ipairs(selected_nodes) do - vim.fn.system({ "trash", vim.fn.fnameescape(node.path) }) + vim.fn.system({ "trash", path }) end require("neo-tree.sources.manager").refresh(state.name) end)