Highlights: default TSError to Normal

This provides a better experience for users
without any extra config.
This commit is contained in:
Santos Gallegos
2020-09-04 12:49:08 -05:00
committed by Kiyan Yazdani
parent 97c1e60bd4
commit 1a42056e09
3 changed files with 1 additions and 13 deletions

View File

@@ -458,14 +458,6 @@ If everything is okay, then it might be an actual error.
In both cases, feel free to [open an issue here](https://github.com/nvim-treesitter/nvim-treesitter/issues/new/choose).
### While typing my code is marked as red
You can deactivate highlighting of syntax errors by adding this to your `init.vim` file:
```vim
highlight link TSError Normal
```
## I get `Error detected while processing .../plugin/nvim-treesitter.vim` every time I open Neovim
This is probably due to a change in a parser's grammar or its queries.

View File

@@ -562,10 +562,6 @@ HIGHLIGHTS *nvim-treesitter-highlights*
*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*
For delimiters ie: `.`

View File

@@ -11,7 +11,7 @@ let g:loaded_nvim_treesitter = 1
lua require'nvim-treesitter'.setup()
highlight default link TSError Error
highlight default link TSError Normal
highlight default link TSPunctDelimiter Delimiter
highlight default link TSPunctBracket Delimiter