mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
Folds: support 'foldminlines'
This commit is contained in:
parent
61411b27c5
commit
97761acaff
3 changed files with 5 additions and 3 deletions
|
|
@ -438,7 +438,7 @@ To use it: >
|
|||
set foldexpr=nvim_treesitter#foldexpr()
|
||||
<
|
||||
|
||||
This will respect your 'foldnestmax' setting.
|
||||
This will respect your 'foldminlines' and 'foldnestmax' settings.
|
||||
|
||||
Note: This is highly experimental, and folding can break on some types of
|
||||
edits. If you encounter such breakage, hiting `zx` should fix folding.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue