summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorThomas Vigouroux <tomvig38@gmail.com>2020-05-25 10:29:18 +0200
committerThomas Vigouroux <tomvig38@gmail.com>2020-05-25 11:19:38 +0200
commitc035fb9f5d2a5d9809cd11f83df6593a2a25ee8f (patch)
tree436aed274a7ba512a3cec8a5e1207d788a59e7f6 /README.md
parentfbade728fed18a084bc5601a62628d3dec0c631c (diff)
docs: document folding
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index e87bc2ad..48e9e0de 100644
--- a/README.md
+++ b/README.md
@@ -124,7 +124,7 @@ The goal of `nvim-treesitter` is both to provide a simple and easy way to use th
but also to add some functionalities to it:
Some of these features are :
- [x] Incremental selection
- - [ ] Syntax based code folding
+ - [x] Syntax based code folding (`set foldmethod=expr foldexpr=nvim_treesitter#foldexr()`)
- [x] Consistent syntax highlighting (the api is not quite stable yet)
- [x] Statusline indicator (`require'nvim-treesitter'.statusline(size)`)