-
|
Hey 👋🏾 I like to use the option to require('neo-tree').setup({
-- ...
commands = {
toggle_group_empty_dir = function(state)
state.group_empty_dir = not state.group_empty_dir
end
}
})This kinda works. In terms that this alternates the rendering/behavior for folders I have not opened yet. But for already grouped empty directories, it does not ungroup them. I tried to add a Visualisation Actual filesystem: So my initial view, having nothing unfold yet and having empty dirs grouped, it looks like that: If I would open folder If I reset now to the initial state and before opening folder |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
What you need there is a |
Beta Was this translation helpful? Give feedback.
What you need there is a
refreshinstead of aredraw.refreshactually recreates the nodes, butredrawjust updates the display of those nodes.