aboutsummaryrefslogtreecommitdiffstats
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
parentfeat: add syntax-based folding (diff)
downloadnvim-treesitter-c035fb9f5d2a5d9809cd11f83df6593a2a25ee8f.tar
nvim-treesitter-c035fb9f5d2a5d9809cd11f83df6593a2a25ee8f.tar.gz
nvim-treesitter-c035fb9f5d2a5d9809cd11f83df6593a2a25ee8f.tar.bz2
nvim-treesitter-c035fb9f5d2a5d9809cd11f83df6593a2a25ee8f.tar.lz
nvim-treesitter-c035fb9f5d2a5d9809cd11f83df6593a2a25ee8f.tar.xz
nvim-treesitter-c035fb9f5d2a5d9809cd11f83df6593a2a25ee8f.tar.zst
nvim-treesitter-c035fb9f5d2a5d9809cd11f83df6593a2a25ee8f.zip
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 e87bc2adb..48e9e0de8 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)`)