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

Multi Instance: Refactor: move nvim-tree.lua functions into Explorer #2926

Open
alex-courtis opened this issue Sep 23, 2024 · 3 comments
Open
Assignees

Comments

@alex-courtis
Copy link
Member

Many nvim-tree.lua functions operate on an Explorer, move them in.

@alex-courtis alex-courtis self-assigned this Oct 21, 2024
@alex-courtis
Copy link
Member Author

Few functions could be moved.

The main usages of explorer are the autocommands. These could be moved into Explorer, with a group per instance, deleted on destroy.

@alex-courtis
Copy link
Member Author

change_root allows/requires moving the following:

  • find-file

toggle and open will still require core.get_explorer

@alex-courtis
Copy link
Member Author

find-file cannot move as it operates without an explorer instance

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

Successfully merging a pull request may close this issue.

1 participant