From 468638e7e048a9fb14d7cebc0fe19db8d1464fb6 Mon Sep 17 00:00:00 2001 From: kiyan Date: Thu, 22 Apr 2021 22:05:52 +0200 Subject: [PATCH] chore: remove unused code --- lua/nvim-tree/fs.lua | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lua/nvim-tree/fs.lua b/lua/nvim-tree/fs.lua index 9347938f..509202f4 100644 --- a/lua/nvim-tree/fs.lua +++ b/lua/nvim-tree/fs.lua @@ -206,12 +206,6 @@ local function do_paste(node, action_type, action_fn) destination = vim.fn.fnamemodify(destination, ':p:h:h') end - local msg = #clip..' entries' - - if #clip == 1 then - msg = clip[1].absolute_path - end - for _, entry in ipairs(clip) do local dest = utils.path_join({destination, entry.name }) do_single_paste(entry.absolute_path, dest, action_type, action_fn)