This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] syscalls.cc for statfs/df under Win9x problem


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:cygwin@cygwin.com
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]