From dee3c242d9802656a87cefa41bad34fc199b4b72 Mon Sep 17 00:00:00 2001 From: Thomas Vigouroux Date: Thu, 27 Aug 2020 14:59:01 +0200 Subject: docs: document foldmethod workarounds --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 2c345da82..8e2df3ba9 100644 --- a/README.md +++ b/README.md @@ -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. -- cgit v1.2.3-70-g09d2