summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 4 insertions, 2 deletions
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