Closed kiyoon closed 1 year ago
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.
vim.o.foldminlines = 15
za
https://user-images.githubusercontent.com/12980409/215920383-7208a0bb-6ae3-4d2e-8a65-feb334917cb8.mp4
Respect the option value.
No response
Do you want to hide the icon in foldcolumn less than foldminlines ?
foldminlines
Yes, that's what I want.
Thanks for the really quick fix. Works really well now!
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 usingza
it folds the larger context. With Treesitter folding it worked.https://user-images.githubusercontent.com/12980409/215920383-7208a0bb-6ae3-4d2e-8a65-feb334917cb8.mp4
Describe the solution you'd like
Respect the option value.
Additional context
No response