Re: Coding style (was: PROPOSAL: New i18n solution)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 22 February, 2000 - Daniel.Egger@xxxxxxx 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, stric@xxxxxxxxxx, http://www.ing.umu.se/~stric/
|- Student at Computing Science, University of Umeå
`- Sysadmin at {cs,ing,acc}.umu.se


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux