Comments and indenting

Nikolai Weibull now at bitwi.se
Thu Aug 30 10:51:29 EDT 2007


On 8/30/07, Tim Pope <vim-ruby-devel at tpope.info> wrote:
> > Immediately after entering the # it moves to:
> >
> > class Blah
> >
> > #
> >    def do_something
> >
> >    end
> > end
>
> Sounds like 'smartindent' to me.  The ruby ftplugin doesn't set it;
> the user vimrc is the most likely culprit.

Actually, the latest version should be unsetting 'smartindent' (which
should be done by the filetype-handling code in my opinion, but Bram
didn't agree with me).  Strange.  Perhaps he's using an old version.
Bug reports against old versions are always grade A.

  nikolai


More information about the vim-ruby-devel mailing list