aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Vigouroux <tomvig38@gmail.com>2020-08-27 14:59:01 +0200
committerThomas Vigouroux <39092278+vigoux@users.noreply.github.com>2020-08-27 15:06:12 +0200
commitdee3c242d9802656a87cefa41bad34fc199b4b72 (patch)
tree01fd4657e954a3d3f097f86a9d587fa009125dcd
parentC highlights: add bitwise-xor operator (diff)
downloadnvim-treesitter-dee3c242d9802656a87cefa41bad34fc199b4b72.tar
nvim-treesitter-dee3c242d9802656a87cefa41bad34fc199b4b72.tar.gz
nvim-treesitter-dee3c242d9802656a87cefa41bad34fc199b4b72.tar.bz2
nvim-treesitter-dee3c242d9802656a87cefa41bad34fc199b4b72.tar.lz
nvim-treesitter-dee3c242d9802656a87cefa41bad34fc199b4b72.tar.xz
nvim-treesitter-dee3c242d9802656a87cefa41bad34fc199b4b72.tar.zst
nvim-treesitter-dee3c242d9802656a87cefa41bad34fc199b4b72.zip
docs: document foldmethod workarounds
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
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.