Saari Development

Ali Rizvi's Technical Blog as a Professional Software Development Engineer

Vim: Adding file extension to a filetype of syntax highlighting

with one comment

“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

Advertisements

Written by imsaar

December 5, 2005 at 3:56 am

Posted in general

One Response

Subscribe to comments with RSS.

  1. Thanks. Just what I was looking for!

    Kevin

    November 21, 2006 at 11:13 am


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: