From f0689a32d6063fd9a9b838bd802e92e6a40000ea Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Tue, 29 Oct 2024 11:06:20 +1100 Subject: [PATCH] fix(#2978): grouped folder not showing closed icon --- lua/nvim-tree/node/directory.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/nvim-tree/node/directory.lua b/lua/nvim-tree/node/directory.lua index cf423364a74..0e372705f2a 100644 --- a/lua/nvim-tree/node/directory.lua +++ b/lua/nvim-tree/node/directory.lua @@ -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