On 22 February, 2000 - [EMAIL PROTECTED] sent me these 0.6K bytes:

> On 22 Feb, Federico Mena Quintero wrote:
> 
> > I don't know if this will be useful at all, but the GNOME Programming
> > Guidelines has a snippet for .vimrc to set the Linux kernel
> > indentation style. 
> 
>  This is the standard vim style.
> 
> > If you tweak it a bit it may work for GNU indentation style.
> 
>  No, unfortunately I couldn't get vim used to GNU indention style.

:set cinoptions={0.5s,^-2,e-2,n-2,p2s,(0

Works most of the case.. (maybe not perfect, but..)

/Tomas
-- 
Tomas Ögren, [EMAIL PROTECTED], http://www.ing.umu.se/~stric/
|- Student at Computing Science, University of Umeå
`- Sysadmin at {cs,ing,acc}.umu.se

Reply via email to