A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/nvim-treesitter/nvim-treesitter/commit/1a42056e092bc34ba081cb924bf0b3e3cd8cdc01 below:

default TSError to Normal · nvim-treesitter/nvim-treesitter@1a42056 · GitHub

File tree Expand file treeCollapse file tree 3 files changed

+1

-13

lines changed

Filter options

Expand file treeCollapse file tree 3 files changed

+1

-13

lines changed Original file line number Diff line number Diff line change

@@ -458,14 +458,6 @@ If everything is okay, then it might be an actual error.

458 458 459 459

In both cases, feel free to [open an issue here](https://github.com/nvim-treesitter/nvim-treesitter/issues/new/choose).

460 460 461 -

### While typing my code is marked as red

462 - 463 -

You can deactivate highlighting of syntax errors by adding this to your `init.vim` file:

464 - 465 -

```vim

466 -

highlight link TSError Normal

467 -

```

468 - 469 461

## I get `Error detected while processing .../plugin/nvim-treesitter.vim` every time I open Neovim

470 462 471 463

This is probably due to a change in a parser's grammar or its queries.

Original file line number Diff line number Diff line change

@@ -562,10 +562,6 @@ HIGHLIGHTS *nvim-treesitter-highlights*

562 562

*hl-TSError*

563 563

For syntax/parser errors.

564 564 565 -

You can deactivate highlighting of syntax errors by adding this to your

566 -

init.vim: >

567 -

highlight link TSError Normal

568 - 569 565

`TSPunctDelimiter`

570 566

*hl-TSPunctDelimiter*

571 567

For delimiters ie: `.`

Original file line number Diff line number Diff line change

@@ -11,7 +11,7 @@ let g:loaded_nvim_treesitter = 1

11 11 12 12

lua require'nvim-treesitter'.setup()

13 13 14 -

highlight default link TSError Error

14 +

highlight default link TSError Normal

15 15 16 16

highlight default link TSPunctDelimiter Delimiter

17 17

highlight default link TSPunctBracket Delimiter

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4