summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2020-06-27 20:43:41 +0200
committerThomas Vigouroux <39092278+vigoux@users.noreply.github.com>2020-06-29 13:50:23 +0200
commita2f09312540822e9c579fee4534832fefd492250 (patch)
tree10610fe0f9018ca9281847b9bb65c3107d300923
parentf4b87d3364d8ef08aad4fd7aebf59450f2c06d67 (diff)
Extend documentation for TSError
-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*