File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ M.change_sort = {
267
267
}
268
268
269
269
M .toggle_trash = {
270
- desc = " Jump back and forth the trash for the current directory" ,
270
+ desc = " Jump to and from the trash for the current directory" ,
271
271
callback = function ()
272
272
local fs = require (" oil.fs" )
273
273
local bufname = vim .api .nvim_buf_get_name (0 )
@@ -278,8 +278,8 @@ M.toggle_trash = {
278
278
url = " oil-trash://" .. path
279
279
elseif scheme == " oil-trash://" then
280
280
url = " oil://" .. path
281
- -- The non-linux trash implementations don't support per-directory trash, so try to jump back
282
- -- to the original buffer by looking at the alternat buffer
281
+ -- The non-linux trash implementations don't support per-directory trash,
282
+ -- so jump back to the stored source buffer.
283
283
if not fs .is_linux then
284
284
local src_bufnr = vim .b .oil_trash_toggle_src
285
285
if src_bufnr and vim .api .nvim_buf_is_valid (src_bufnr ) then
You can’t perform that action at this time.
0 commit comments