diff options
| author | Santos Gallegos <stsewd@protonmail.com> | 2020-09-07 11:41:37 -0500 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2020-09-08 15:07:23 +0200 |
| commit | 7b972d581cbdffb2031a3cf46de7fe4ba658dea7 (patch) | |
| tree | cd834258aa40b93987c9bacd2c0ec2d93ce6a55e /doc | |
| parent | fix using highlight query extension for every query type (diff) | |
| download | nvim-treesitter-7b972d581cbdffb2031a3cf46de7fe4ba658dea7.tar nvim-treesitter-7b972d581cbdffb2031a3cf46de7fe4ba658dea7.tar.gz nvim-treesitter-7b972d581cbdffb2031a3cf46de7fe4ba658dea7.tar.bz2 nvim-treesitter-7b972d581cbdffb2031a3cf46de7fe4ba658dea7.tar.lz nvim-treesitter-7b972d581cbdffb2031a3cf46de7fe4ba658dea7.tar.xz nvim-treesitter-7b972d581cbdffb2031a3cf46de7fe4ba658dea7.tar.zst nvim-treesitter-7b972d581cbdffb2031a3cf46de7fe4ba658dea7.zip | |
Fold: update docs
Document foldnestmax.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/nvim-treesitter.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/nvim-treesitter.txt b/doc/nvim-treesitter.txt index 5afcd9069..e14a2ac15 100644 --- a/doc/nvim-treesitter.txt +++ b/doc/nvim-treesitter.txt @@ -551,6 +551,9 @@ To use it: > set foldmethod=expr set foldexpr=nvim_treesitter#foldexr() < + +This will respect your 'foldnestmax' setting. + Note: This is highly experimental, and folding can break on some types of edits. If you encounter such breakage, hiting `zx` should fix folding. In any case, feel free to open an issue with the reproducing steps. |
