We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8405ecf commit 0429f28Copy full SHA for 0429f28
lua/nvim-tree/actions/moves/parent.lua
@@ -10,9 +10,8 @@ local M = {}
10
function M.fn(should_close)
11
should_close = should_close or false
12
13
- local explorer = core.get_explorer()
14
-
15
return function(node)
+ local explorer = core.get_explorer()
16
node = lib.get_last_group_node(node)
17
if should_close and node.open then
18
node.open = false
0 commit comments