Vim: xml and html auto tag completion

Downloaded the ftplugin from here: (pointed to by here:

copied the file to ~/.vim/ftplugin/xml.vim

at this point XML completion works (.xml files) but html does not.

once the plugin was triggered and installed witha deleteme.xml file, I followed the instruction at did this:
:help xml-plugin-html

I copy pasted the html.vim file in the help to a new file:

and then loaded my rhtml (or any html file that autocmds to filetype html) and the plugin started working

  1. December 5, 2005
  2. August 26, 2006