Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions lua/nvim-tree/actions/moves/parent.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ local M = {}
function M.fn(should_close)
should_close = should_close or false

local explorer = core.get_explorer()

return function(node)
local explorer = core.get_explorer()
node = lib.get_last_group_node(node)
if should_close and node.open then
node.open = false
Expand Down
Loading