From 120ba58254835d412bbc91cffe847e9be835fadd Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Tue, 29 Oct 2024 11:07:48 +1100 Subject: [PATCH] fix(#2978): grouped folder not showing closed icon (#2979) --- 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