Skip to content

Commit b856d0a

Browse files
tjexalex-courtis
andauthored
fix(#2392): bookmarks icon placement when group_empty (#2402)
* fix: marks now align with nodes when parent nodes are empty and group_empty option enabled * run stylua --------- Co-authored-by: Alexander Courtis <[email protected]>
1 parent 51f0236 commit b856d0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/nvim-tree/marks/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ function M.draw()
6363
local add = core.get_nodes_starting_line() - 1
6464
Iterator.builder(core.get_explorer().nodes)
6565
:recursor(function(node)
66-
return node.open and node.nodes
66+
return node.group_next and { node.group_next } or (node.open and node.nodes)
6767
end)
6868
:applier(function(node, idx)
6969
if M.get_mark(node) then

0 commit comments

Comments
 (0)