Folds: support 'foldminlines'

This commit is contained in:
Munif Tanjim 2021-07-08 23:08:06 +06:00 committed by Stephan Seitz
parent 61411b27c5
commit 97761acaff
3 changed files with 5 additions and 3 deletions

View file

@ -438,7 +438,7 @@ To use it: >
set foldexpr=nvim_treesitter#foldexpr()
<
This will respect your 'foldnestmax' setting.
This will respect your 'foldminlines' and 'foldnestmax' settings.
Note: This is highly experimental, and folding can break on some types of
edits. If you encounter such breakage, hiting `zx` should fix folding.