* fix: marks now align with nodes when parent nodes are empty and group_empty option enabled * run stylua --------- Co-authored-by: Alexander Courtis <alex@courtis.org>
This commit is contained in:
@@ -63,7 +63,7 @@ function M.draw()
|
|||||||
local add = core.get_nodes_starting_line() - 1
|
local add = core.get_nodes_starting_line() - 1
|
||||||
Iterator.builder(core.get_explorer().nodes)
|
Iterator.builder(core.get_explorer().nodes)
|
||||||
:recursor(function(node)
|
:recursor(function(node)
|
||||||
return node.open and node.nodes
|
return node.group_next and { node.group_next } or (node.open and node.nodes)
|
||||||
end)
|
end)
|
||||||
:applier(function(node, idx)
|
:applier(function(node, idx)
|
||||||
if M.get_mark(node) then
|
if M.get_mark(node) then
|
||||||
|
|||||||
Reference in New Issue
Block a user