Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhuster committed Nov 26, 2024
1 parent 4793ac1 commit 6fc32c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/dirvish-do/operations.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ M.sep = fn.exists('+shellslash') == 1 and not vim.o.shellslash and '\\' or '/'

function M.rm(path)
if require('dirvish-do').config.operations.remove == 'trash' then
vim.cmd.python3(('from send2trash import send2trash; send2trash("%s")'):format(path))
M.trash(path)
return
end
local isDir = path:sub(-1) == "/"
Expand Down

0 comments on commit 6fc32c9

Please sign in to comment.