Vim's MatchParen for HTML tags
Latest commit d57b62f Mar 6, 2016 @gregsexton Update readme


Looking for a maintainer

I no longer use Vim regularly enough to maintain this project. If you are interested in taking over ownership of this project please email me.


This plugin highlights the matching HTML tag when the cursor is positioned on a tag. It works in much the same way as the MatchParen plugin.

It was inspired by this question

The latest 'release' is available on

Other file types

To get this to work for file types other than html that use a similar tag structure (e.g XML) you can do something similar to this.

echo 'runtime! ftplugin/html.vim' > ~/.vim/ftplugin/xml.vim

The xml.vim file demonstrated here is included with MatchTag.


Thanks to for this screenshot.

Screenshot of MatchTag