mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(readme): disable folding at startup
This commit is contained in:
parent
e7bdcee167
commit
4f8b2480b3
1 changed files with 1 additions and 1 deletions
|
|
@ -388,7 +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.
|
||||
set nofoldenable " Disable folding at startup.
|
||||
```
|
||||
|
||||
This will respect your `foldminlines` and `foldnestmax` settings.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue