mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
docs: document foldmethod workarounds
This commit is contained in:
parent
5f37847dd8
commit
dee3c242d9
1 changed files with 5 additions and 0 deletions
|
|
@ -477,3 +477,8 @@ As this issue comes from upstream, we don't have any finite fix. To get around t
|
|||
```
|
||||
|
||||
This will save, restore and enable highlighting for the current buffer, fixing the issue.
|
||||
|
||||
## I experience bugs when using `nvim-treesitter`'s `foldexpr` similar to [#194](https://github.com/nvim-treesitter/nvim-treesitter/issues/194)
|
||||
|
||||
This might happen, and is known to happen with `vim-clap`, to avoid those kind of errors, please use
|
||||
`setlocal` instead of `set` for the appropriate filetypes.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue