Skip to content

Commit 0522def

Browse files
authored
Correct is_nodes_array return logic
Fix is_nodes_array function to correctly identify node arrays.
1 parent 9c782a1 commit 0522def

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,6 @@ end
182182
---@return boolean
183183
function Clipboard:is_nodes_array(node_or_nodes)
184184
return type(node_or_nodes) == "table" and node_or_nodes.is and node_or_nodes:is(Node)
185-
return false
186-
end
187-
return true
188185
end
189186

190187
---Copy one or more nodes

0 commit comments

Comments
 (0)