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

Minimum lines #108

Closed
kiyoon opened this issue Feb 1, 2023 · 3 comments
Closed

Minimum lines #108

kiyoon opened this issue Feb 1, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@kiyoon
Copy link

kiyoon commented Feb 1, 2023

Feature description

I almost never want to fold just 1 line. So I set vim.o.foldminlines = 15. With this I still see the fold buttons, and if I click those or fold using za it folds the larger context. With Treesitter folding it worked.

2023-02-01.01-09-14.mp4

Describe the solution you'd like

Respect the option value.

Additional context

No response

@kiyoon kiyoon added the enhancement New feature or request label Feb 1, 2023
@kevinhwang91
Copy link
Owner

Do you want to hide the icon in foldcolumn less than foldminlines ?

@kiyoon
Copy link
Author

kiyoon commented Feb 1, 2023

Yes, that's what I want.

@kevinhwang91 kevinhwang91 added bug Something isn't working and removed enhancement New feature or request labels Feb 1, 2023
@kiyoon
Copy link
Author

kiyoon commented Feb 1, 2023

Thanks for the really quick fix. Works really well now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants