Skip to content

fix: refresh folds after select-node UI closes#124

Open
chipsenkbeil wants to merge 1 commit into
mainfrom
fix/123-fold-refresh-after-select
Open

fix: refresh folds after select-node UI closes#124
chipsenkbeil wants to merge 1 commit into
mainfrom
fix/123-fold-refresh-after-select

Conversation

@chipsenkbeil

@chipsenkbeil chipsenkbeil commented Feb 20, 2026

Copy link
Copy Markdown
Owner

Merge Order

This PR is independent and can be merged in any order.

Summary

Test plan

  • Open an org file with folds
  • Run <Leader>nn (or any command that opens the select-node UI)
  • Cancel or make a selection
  • Verify folds still work correctly in the original buffer

When the selection window closes, Neovim does not re-trigger fold
computation on the original window. This causes folds to break after
using the node selection dialog. Fix by scheduling a `zx` (recompute
folds) on the original window after the selection dialog closes.
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.

Bug: folding breaks after <Leader>nn when multiple node candidates are shown

1 participant