Skip to content

Fix move/rename follow-up after handled file events#2003

Merged
pynappo merged 3 commits into
nvim-neo-tree:mainfrom
imkgh:fix-complete-after-event-handled
Mar 28, 2026
Merged

Fix move/rename follow-up after handled file events#2003
pynappo merged 3 commits into
nvim-neo-tree:mainfrom
imkgh:fix-complete-after-event-handled

Conversation

@imkgh
Copy link
Copy Markdown
Contributor

@imkgh imkgh commented Mar 27, 2026

Fix follow-up behavior when file actions are custom handled, and make source-specific post-action updates more consistent.

  • completes move actions after BEFORE_FILE_MOVE is handled
  • passes refresh callbacks through rename handlers
  • focuses the moved destination in buffers and git_status sources

Tested manually with:

  • rename
  • rename_basename
  • cut_to_clipboard + paste_from_clipboard
  • move in filesystem, buffers, and git_status

@pynappo
Copy link
Copy Markdown
Collaborator

pynappo commented Mar 28, 2026

ty!

@pynappo pynappo merged commit 84c75e7 into nvim-neo-tree:main Mar 28, 2026
12 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