Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can this be used as a general purpose tree? #7

Open
dsych opened this issue Jan 8, 2022 · 0 comments
Open

Can this be used as a general purpose tree? #7

dsych opened this issue Jan 8, 2022 · 0 comments

Comments

@dsych
Copy link

dsych commented Jan 8, 2022

Hey, I first learned about this plugin during @mhartington 's presentation for vimconf2021 and your idea for file tree being just a library intrigued me. I skimmed through the docs and a though struck me:

Can this be used as a general purpose tree widget?

In other words, is there any kind of interface that could be used (or exposed easily) for user to supply a content provider? Maybe a list of lists or whatever. The main idea being that yanil already provides most of the functionality for implementing a functional tree widget with traversal, hooks and keymaps, while user would just supply the data and missing mappings for whatever.
An example would be a call stack widget.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant