Disable folding at startup.

This commit is contained in:
Jelle Haandrikman 2022-10-21 20:52:33 +02:00 committed by Stephan Seitz
parent 80503a9910
commit 7709eb4b47

View file

@ -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.