From 7b972d581cbdffb2031a3cf46de7fe4ba658dea7 Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Mon, 7 Sep 2020 11:41:37 -0500 Subject: Fold: update docs Document foldnestmax. --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index d5153ef3..3f3f7870 100644 --- a/README.md +++ b/README.md @@ -299,14 +299,16 @@ EOF # Extra features -- Syntax based code folding +## Syntax based code folding ```vim set foldmethod=expr set foldexpr=nvim_treesitter#foldexpr() ``` -- Statusline indicator +This will respect your `foldnestmax` setting. + +## Statusline indicator ```vim echo nvim_treesitter#statusline(90) " 90 can be any length -- cgit v1.2.3