Skip to content

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
pynappo added a commit to pynappo/neo-tree.nvim that referenced this pull request Jul 3, 2025
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