diff --git a/doc/nvim-treesitter.txt b/doc/nvim-treesitter.txt index b287b56e3..c9adf93b2 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*