mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 19:00:02 -04:00
Disable folding at startup.
This commit is contained in:
parent
80503a9910
commit
7709eb4b47
1 changed files with 1 additions and 0 deletions
|
|
@ -388,6 +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.
|
||||||
```
|
```
|
||||||
|
|
||||||
This will respect your `foldminlines` and `foldnestmax` settings.
|
This will respect your `foldminlines` and `foldnestmax` settings.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue