diff options
| author | Thomas Vigouroux <39092278+vigoux@users.noreply.github.com> | 2020-07-15 09:24:57 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-15 09:24:57 +0200 |
| commit | 250289b3d607bec4b7426934ec7d47fa6615f059 (patch) | |
| tree | 90c64bd57a084088e73bb6c76d891e8c6e8a7174 | |
| parent | fix(configs): simplify module setup process (diff) | |
| download | nvim-treesitter-250289b3d607bec4b7426934ec7d47fa6615f059.tar nvim-treesitter-250289b3d607bec4b7426934ec7d47fa6615f059.tar.gz nvim-treesitter-250289b3d607bec4b7426934ec7d47fa6615f059.tar.bz2 nvim-treesitter-250289b3d607bec4b7426934ec7d47fa6615f059.tar.lz nvim-treesitter-250289b3d607bec4b7426934ec7d47fa6615f059.tar.xz nvim-treesitter-250289b3d607bec4b7426934ec7d47fa6615f059.tar.zst nvim-treesitter-250289b3d607bec4b7426934ec7d47fa6615f059.zip | |
Update README.md
Add a notice on how to temporarily fix highlighting issues.
| -rw-r--r-- | README.md | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -299,3 +299,12 @@ If you do, it's highly possible that this is the cause of the problem. If everything is okay, then it might be an actual error. In both cases, feel free to open an issue here. + +### I am expreiencing weird highlighting issues as in [#78[(https://github.com/nvim-treesitter/nvim-treesitter/issues/78) + +This is a weell known issue, that is caused by the tree and the buffer getting out of sync. +As this issue comes form upstream, we don't have any definitive fix. One thing you can do to force reparsing the whole buffer is to run : +```vim +:write | edit | TSBufEnable highlight +``` + This will save, restore and enable highlighting for the current buffer, fixing the issue. |
