Skip to content

refactor: move reload function into utils module #2247

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

Merged
merged 4 commits into from
Jun 10, 2023

Conversation

Akmadan23
Copy link
Collaborator

This is the refactor we discussed in #2202, it will be useful for future fixes.
I also noticed that I called utils.focus_file when it was unnecessary, so I replaced it with a simple view.set_cursor.

Copy link
Member

@alex-courtis alex-courtis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many thanks; structural improvements are always very welcome.

@alex-courtis alex-courtis merged commit 576d4c1 into nvim-tree:master Jun 10, 2023
@Akmadan23 Akmadan23 deleted the refactor-reload branch June 10, 2023 09:12
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

Successfully merging this pull request may close these issues.

2 participants