You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After run fold_toggle on current node, the default behaviour of auto_unfold -ing others stops working.
Steps to reproduce:
1.Open outline window
2.Click to focus on one node with children underneath.
We watched the node unfolding. OK.
3.Click to focus on second node with children underneath.
We watched the second node unfolding, and previous node collapsing. OK.
4.Run fold_toggle (I set with Tab key in keymaps={...fold_toggle = {''}...}).
Run again.
We watched the second node collapsing and unfolding again.
5.Swtich focus back to the first node (in step 2).
Expected: the second node would collapse.
Reality: nothing happends with the second node (keep unfolded).
Hi, manual folds (as the result of the folding key maps) are saved and they will not be affected by the auto-folding behaviour. They can be reset using the R key by default. Could you give it a try and see if that fixes auto-folding?
Is there an option to keep the auto-folding behaviour after running fold_toggle (also fold_toggle_all), without pressing R key? IMHO, I find no reason to affect the auto-folding (:.
hedyhli
changed the title
Manual run fold_toggle fails auto_unfold of node
Automatically re-enable auto-unfolding even after manual fold toggling
Sep 21, 2024
Description
After run fold_toggle on current node, the default behaviour of auto_unfold -ing others stops working.
Steps to reproduce:
1.Open outline window
2.Click to focus on one node with children underneath.
We watched the node unfolding. OK.
3.Click to focus on second node with children underneath.
We watched the second node unfolding, and previous node collapsing. OK.
4.Run fold_toggle (I set with Tab key in keymaps={...fold_toggle = {''}...}).
Run again.
We watched the second node collapsing and unfolding again.
5.Swtich focus back to the first node (in step 2).
Expected: the second node would collapse.
Reality: nothing happends with the second node (keep unfolded).
Neovim setup
Config:
The text was updated successfully, but these errors were encountered: