summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/nvim-treesitter.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/nvim-treesitter.txt b/doc/nvim-treesitter.txt
index b287b56e..c9adf93b 100644
--- a/doc/nvim-treesitter.txt
+++ b/doc/nvim-treesitter.txt
@@ -170,7 +170,13 @@ Note: This is highly experimental, and folding can break on some types of
==============================================================================
HIGHLIGHTS *nvim-treesitter-highlights*
-TSError
+`TSError`
+ *hl-TSError*
+For syntax/parser errors.
+
+You can deactivate highlighting of syntax errors by adding this to your
+init.vim: >
+ highlight link TSError Normal
`TSPunctDelimiter`
*hl-TSPunctDelimiter*