Skip to content

Commit 52e5c2e

Browse files
committed
fix(#2945): stack overflow on api.git.reload or fugitive event
1 parent 751410b commit 52e5c2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/nvim-tree/node/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ function BaseNode:reload_node_status(projects)
147147
for _, node in ipairs(self.nodes) do
148148
node:update_git_status(self:is_git_ignored(), status)
149149
if node.nodes and #node.nodes > 0 then
150-
self:reload_node_status(projects)
150+
node:reload_node_status(projects)
151151
end
152152
end
153153
end

0 commit comments

Comments
 (0)