Skip to content

fix(finder): defer BufEnter cleanup#1564

Open
SDGLBL wants to merge 1 commit into
nvimdev:mainfrom
SDGLBL:fix-finder-bufenter-e1312
Open

fix(finder): defer BufEnter cleanup#1564
SDGLBL wants to merge 1 commit into
nvimdev:mainfrom
SDGLBL:fix-finder-bufenter-e1312

Conversation

@SDGLBL
Copy link
Copy Markdown

@SDGLBL SDGLBL commented May 13, 2026

Summary

  • avoid treating finder buffers as external BufEnter targets
  • defer finder cleanup out of the BufEnter autocmd before closing windows
  • add finder tests for both in-finder and external buffer transitions

Closes #1560

Test

  • nix --extra-experimental-features 'nix-command flakes' shell nixpkgs#stylua -c stylua --check .
  • nvim --headless + targeted close_on_bufenter assertions

Note: local vusted was unavailable in this environment; the Nix vusted package failed during wrapper generation before running tests.

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.

Error in finder with "normal" layout when jumping to reference

1 participant