We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70e5451 commit 2fc8d1fCopy full SHA for 2fc8d1f
lua/nvim-tree/actions/tree/modifiers/collapse-all.lua
@@ -41,17 +41,17 @@ function M.fn(opts)
41
42
local matches = buf_match()
43
44
- local selectedNodes
+ local selected_nodes
45
if under_cursor then
46
if not node or not node.nodes then
47
return
48
end
49
- selectedNodes = node.nodes
+ selected_nodes = node.nodes
50
else
51
- selectedNodes = explorer.nodes
+ selected_nodes = explorer.nodes
52
53
54
- Iterator.builder(selectedNodes)
+ Iterator.builder(selected_nodes)
55
:hidden()
56
:applier(function(n)
57
local dir = n:as(DirectoryNode)
0 commit comments