Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: folding actions working globally across the fold #420

Closed
1 task done
simonmandlik opened this issue Apr 21, 2024 · 1 comment
Closed
1 task done

feature: folding actions working globally across the fold #420

simonmandlik opened this issue Apr 21, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@simonmandlik
Copy link

Did you check the docs?

  • I have read all the trouble.nvim docs

Is your feature request related to a problem? Please describe.

Actions like "fold_open" and "fold_close" do not work unless the cursor is positioned on top line of the fold (e.g. a filename or a directory). In order to close this fold, I have to jump to this top line and close the fold.

Describe the solution you'd like

Actions like "fold_open" and "fold_close" working everywhere in the fold (like in vanilla neovim).

Describe alternatives you've considered

It is possible to use global "fold_more" or "fold_reduce", which work everywhere, however, they expand / collapse all folds.

Additional context

No response

@simonmandlik simonmandlik added the enhancement New feature or request label Apr 21, 2024
@folke
Copy link
Owner

folke commented May 12, 2024

This has been fixed in v3

@folke folke closed this as not planned Won't fix, can't repro, duplicate, stale May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants