Vim Tips Wiki

Use this page to discuss script 3818 MatchTag: MatchParen for HTML tags

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

Install[]

  • Download and expand the version with the most recent date.
  • Move the downloaded file ftplugin/html.vim to ~/.vim/ftplugin (Unix based systems), or $HOME/vimfiles/ftplugin/html.vim on Windows.
  • Add command to vimrc if not already present:
    filetype plugin indent on
  • Edit an html file (for example test.html included in the download) and test that matching tags are highlighted when the cursor is in a tag.

Comments[]