Skip to content

How to redraw after toggle group_empty_dir option? #1249

Answered by cseickel
weilbith asked this question in Q&A
Discussion options

You must be logged in to vote

What you need there is a refresh instead of a redraw. refresh actually recreates the nodes, but redraw just updates the display of those nodes.

require("neo-tree.sources.manager").refresh(state.name)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@weilbith
Comment options

Answer selected by weilbith
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants