On Thursday 01 August 2002 10:57 am, Daniel Bretoi wrote:
> /vim/vim61/ftplugin/ruby.vim
> had a line with
>
>
> " Set shift width to 2, the Ruby standard
> setlocal sw=2
>
>
> I didn't realize this was a ruby standard...  hm

Yes, it is; I'd add "set et".

However...

Why are we setting the sw in an ftplugin?

After all, it says explicitly in ftplugin/README.txt:

"The default filetype plugin files contain settings that 95% of the 
users will want to use.  They do not contain personal preferences, 
like the value of 'shiftwidth'."

And...

How do I get my ftplugin/ruby.vim to be distributed with Vim?
Among other things, it makes matchit work with Ruby.

http://vim.sourceforge.net/scripts/script.php?script_id=303

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE