Skip to content

Commit 2fc8d1f

Browse files
committed
align casing
1 parent 70e5451 commit 2fc8d1f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lua/nvim-tree/actions/tree/modifiers/collapse-all.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,17 @@ function M.fn(opts)
4141

4242
local matches = buf_match()
4343

44-
local selectedNodes
44+
local selected_nodes
4545
if under_cursor then
4646
if not node or not node.nodes then
4747
return
4848
end
49-
selectedNodes = node.nodes
49+
selected_nodes = node.nodes
5050
else
51-
selectedNodes = explorer.nodes
51+
selected_nodes = explorer.nodes
5252
end
5353

54-
Iterator.builder(selectedNodes)
54+
Iterator.builder(selected_nodes)
5555
:hidden()
5656
:applier(function(n)
5757
local dir = n:as(DirectoryNode)

0 commit comments

Comments
 (0)