Search code examples
vimvim-syntax-highlighting

Where can I reset the highlighting for cErrInParen and cErrInBracket in VIM?


While opening the .c file with VIM on Linux, the “{“ and “}” is highlighted as an error where they are okay.

I’d like to reset the highlighting for cErrInParen and cErrInBracket, but don’t know where can I reset it. Thank you.


Solution

  • Does it work to add the following in ~/.vim/after/syntax/c.vim:

    syntax clear cErrInParen
    syntax clear cErrInBracket
    

    ?