diff options
| author | Thomas Vigouroux <tomvig38@gmail.com> | 2020-08-27 14:59:01 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <39092278+vigoux@users.noreply.github.com> | 2020-08-27 15:06:12 +0200 |
| commit | dee3c242d9802656a87cefa41bad34fc199b4b72 (patch) | |
| tree | 01fd4657e954a3d3f097f86a9d587fa009125dcd | |
| parent | C highlights: add bitwise-xor operator (diff) | |
| download | nvim-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.md | 5 |
1 files changed, 5 insertions, 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. |
