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


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!


    November 21, 2006 at 11:13 am

Leave a Reply

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

You are commenting using your 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: