Skip to content

Commit

Permalink
fix(#2978): grouped folder not showing closed icon (#2979)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-courtis authored Oct 29, 2024
1 parent 00dff48 commit 120ba58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/nvim-tree/node/directory.lua
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ function DirectoryNode:expand_or_collapse(toggle_group)
next_open = not open
end

local node = self
local node = head_node
while node do
node.open = next_open
node = node.group_next
Expand Down

0 comments on commit 120ba58

Please sign in to comment.