fix(readme): disable folding at startup

This commit is contained in:
Wuelner Martínez 2022-11-01 14:23:35 -06:00 committed by Christian Clason
parent e7bdcee167
commit 4f8b2480b3

View file

@ -388,7 +388,7 @@ Tree-sitter based folding. *(Technically not a module because it's per windows a
```vim ```vim
set foldmethod=expr set foldmethod=expr
set foldexpr=nvim_treesitter#foldexpr() set foldexpr=nvim_treesitter#foldexpr()
set foldenable=false -- Disable folding at startup. set nofoldenable " Disable folding at startup.
``` ```
This will respect your `foldminlines` and `foldnestmax` settings. This will respect your `foldminlines` and `foldnestmax` settings.