summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJelle Haandrikman <jhaand@freedom.nl>2022-10-21 20:52:33 +0200
committerStephan Seitz <stephan.seitz@fau.de>2022-11-01 10:16:42 +0100
commit7709eb4b47b8ee19e760aa2771c5735fda2798e1 (patch)
tree53ad7ec84fdafaa7055c9500984428bb71a1472e /README.md
parent80503a99104e461599ef8810a64bce1b6d235f6a (diff)
Disable folding at startup.
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index 505caa19..51fd485f 100644
--- a/README.md
+++ b/README.md
@@ -388,6 +388,7 @@ Tree-sitter based folding. *(Technically not a module because it's per windows a
```vim
set foldmethod=expr
set foldexpr=nvim_treesitter#foldexpr()
+set foldenable=false -- Disable folding at startup.
```
This will respect your `foldminlines` and `foldnestmax` settings.