-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 12 Aug 2002 16:01, Dossy wrote: > On 2002.08.12, Philip Mak <pmak / animeglobe.com> wrote: > > Maybe you have an older buggier version of ruby.vim? I'm using this: > > http://mugca.its.monash.edu.au/~djkea2/vim/syntax/ruby.vim > > (it goes in $VIM/vim61b/syntax/ruby.vim or whatever your equivalent > > directory is). > > I _did_ have an older version of ruby.vim, so I replaced mine > with the one at the URL you specify. > > Still doesn't work for me. > > This is what :set shows: > > autoindent filetype=ruby shiftwidth=2 ttyfast > comments=:# formatoptions=cql smartindent > viminfo='20,"50 define=^\s* history=50 suffixesadd=.rb > expandtab ruler tabstop=2 > backspace=indent,eol > cpoptions=aABceFsu > helpfile=/usr/share/vim/vim61/doc/help.txt.gz > include=^\s*\<\(load\|require\)\> > includeexpr=substitute(substitute(v:fname,'::','/','g'),'$','.rb','') > iskeyword=48-57,_,A-Z,a-z,: > > path=/usr/local/lib/site_ruby/1.6,/usr/local/lib/site_ruby/1.6/i386-linux,/ >usr /local/lib/site_ruby,/usr/lib/ruby/1.6,/usr/lib/ruby/1.6/i386-linux,, > suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,. >ilg ,.inx,.out,.toc > > $ vim --version | head -2 > VIM - Vi IMproved 6.1 (2002 Mar 24, compiled Apr 14 2002 20:39:56) > Included patches: 1-18 > > FWIW, this is the Debian Woody packaged version of Vim. > > -- Dossy That is interesting. When I type :set I get a list of indentkeys and an indentexpr. Here is what mine shows: autoindent filetype=ruby incsearch scroll=34 tabstop=2 autowrite foldlevel=3 mouse=a shiftwidth=2 textwidth=78 background=dark foldmethod=syntax mousemodel=popup showcmd ttyfast backspace=2 foldminlines=10 number showmatch viminfo='20,"50 expandtab history=50 ruler syntax=ruby nowrap directory=~/tmp,/tmp,/var/tmp,. formatoptions=tcql guifont=-misc-fixed-medium-r-normal-*-*-120-*-*-c-*-iso10646-1 indentexpr=GetRubyIndent() indentkeys=0{,0},:,0#,!^F,o,O,e,=end,=else,=elsif,=when,=ensure,=rescue suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc Not sure why there is a such a diff. Just for completeness to this post.. [synack / Evergreen] src $ vim --version | head -2 VIM - Vi IMproved 6.1 (2002 Mar 24, compiled Aug 5 2002 23:27:36) Included patches: 1, 3-15, 17-18, 20-22, 24-34, 36-72, 74-87, 89-92, 94-99, 101-118, 120-146 - -- Signed, Holden Glova -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9V1hi0X8w8X71zPcRApSuAJ9LjrDbMlar4fMc1qhcKGWwo5/XXACfdrzq 8fMJrddW5v+oyaSoOyyrWyQ= =6Frf -----END PGP SIGNATURE-----