I need a Vim script to highlight end of a tag when cursor is at the beginning of the tag.
For example in html tags, when cursor is in start of tag, it sh开发者_Go百科ould highlight the end of the tag.
The interface should be generic, so that more tags can be added
If you replace your html.vim file with this one, you'll get the html tag matching plus some extra stuff. Or you can use matchit which is more general purpose.
精彩评论