Vim: Adding file extension to a filetype of syntax highlighting

“Add this line to syntax highlight any rhtml (rails view, ERb) to be displayed with HTML syntax highlighting
autocmd BufRead *.rhtml set filetype=html

Now I have to figure out how to load the matchit plugin that enables auto-complete for HTML tags

One Response
  1. November 21, 2006