On Tue, Mar 13, 2001 at 10:13:26AM -0500, Earnie Boyd wrote:
> Corinna Vinschen wrote:
> >   but so:               if ()
> >                           {
> >                             body
> >                           }
> >                         else
> >                           {
> >                           }
> > 
> 
> Sorry for asking on this list but this is an example of what I need. 
> Does anyone know how to tell VIM to automagically do the above
> indentation?  If I `:set cindent' it does the second "not so" and I
> would like to change it to be correct.

Assuming ``shiftwidth´´ is 4.

set cino=...,{.5s,...

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:[EMAIL PROTECTED]
Red Hat, Inc.

Reply via email to