I'm new to Vim and am having an issue with highlight color of matching braces in Vim. if I type: <html> and my cursor is at the one of the <> greater/less-than brace then I can't see the brace because the color of <> braces is same as the highlight i.e light blue.

here is an image:

screenshot with evening colorscheme

Ok so I tried a different colorscheme and found that in slate the color of the braces and the bars are different so I can see them but in other schemes this problem exists. here is the image in slate colorscheme:

screenshot with slate colorscheme

How to change the highlight color or syntax highlighting color?

  • would you need to change your cursor or the html tags?
    – padawin
    Jun 2, 2020 at 14:39
  • @padawin my cursor is alright as long as i'm not on the <> braces. But when I am, it shows/highlights the matched braces and they are not visible anymore. I see 2 light-blue bars instead.
    – Manik
    Jun 2, 2020 at 14:50

1 Answer 1


The highlight of the matching brace is ruled by the MatchParen group.

You can customize it with the highlight command.

Here's an example:

highlight MatchParen guifg=Black guibg=Yellow

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.