From: Gavin Sinclair Date: 2002-11-22T00:33:36+09:00 Subject: Re: identing ruby in vim From: "Austin Ziegler" > > Actually, the VIM filetype plugin probably shouldn't set the > indentation at all. Correct. The official one doesn't, but most people don't have that :| > While I've shifted to 2-space indentation > (because tabs are evil, and 4-space just gets too wide) Careful! I've noticed that most of the code posted to the list uses tabs (it renders badly in Outlook Express - reminding one of exactly *why* tabs are evil - oops). Worse, a lot of it mixes tabs and spaces, the only thing nearly everybody agrees one should *not* do. > , it really > doesn't belong in the "global" VIM filetype (more in a personal VIM > filetype). I may post my (slightly modified) Ruby VIM filetype/ > syntax/etc. files to my website in the near future, along with > instructions on how to use them and set them up. > > I also get folding and a bunch of other nice macros for doing Ruby. It would be nice to see these - I'll probably shamelessly steal some of them for the official files. There's a page on the Wiki for VimExtensions, too. Gavin