Skip to content

Commit 2c56cc6

Browse files
committed
fix(clipboad): correctly show the number of copied nodes on bgy
1 parent 885b4d9 commit 2c56cc6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/nvim-tree/actions/fs/clipboard.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ function Clipboard:copy_absolute_path(node_or_nodes, opts)
564564
end
565565
end
566566

567-
self:copy_to_reg(content, opts, string.format("%s nodes copied to register", is_single and #node_or_nodes or 1))
567+
self:copy_to_reg(content, opts, string.format("%s nodes copied to register", is_single and 1 or #node_or_nodes))
568568
end
569569

570570
---Node is cut. Will not be copied.

0 commit comments

Comments
 (0)