Skip to content

fix(renderer): fix cut & paste stack overflow on hidden root #1792

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
May 23, 2025

Conversation

Sedonn
Copy link
Contributor

@Sedonn Sedonn commented May 21, 2025

This fixes stack overflow when cutting and pasting a file with 'hide_root_node = true' (#1517). The renderer was trying to focus a hidden root node.

@pynappo
Copy link
Collaborator

pynappo commented May 23, 2025

ty for the work! i didn't have time to debug this one in the last few weeks but this has always bugged me.

in theory the simpler check i committed should have passed tests, but if i can't get a version of this one working i'll just commit your version. gimme a few min.

@pynappo pynappo changed the title fix(renderer): fix stack overflow when cut and paste files (#1517) fix(renderer): fix cut & paste stack overflow on hidden root May 23, 2025
@pynappo pynappo merged commit 3f1dd2d into nvim-neo-tree:main May 23, 2025
8 checks passed
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