From 97761acaff346bb7d2350ee0c6d42012fe5985b6 Mon Sep 17 00:00:00 2001 From: Munif Tanjim Date: Thu, 8 Jul 2021 23:08:06 +0600 Subject: Folds: support 'foldminlines' --- doc/nvim-treesitter.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/nvim-treesitter.txt b/doc/nvim-treesitter.txt index 07b9cd10..493761d8 100644 --- a/doc/nvim-treesitter.txt +++ b/doc/nvim-treesitter.txt @@ -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. -- cgit v1.2.3