[Openais] Re: vim tabstop
Steven Dake
sdake at mvista.com
Thu Oct 28 10:15:46 PDT 2004
Mark
I'll make a patch for this.
Thanks for finding it
regards
-steve
On Thu, 2004-10-28 at 07:53, Mark Haverkamp wrote:
> I you remember back a while ago we were discussing how to get vim to
> automatically set the tabstop/shiftwidth to 4 for the openais coding
> style. I ran across a program today that had this line in it:
>
> vi: set autoindent tabstop=4 shiftwidth=4 :
>
> I did some experimenting and It looks like it needs to be the first
> thing in the file in a comment block.
>
> I tried this:
>
> /* vi: set autoindent tabstop=4 shiftwidth=4 :
> * Copyright (c) 2003-2004 MontaVista Software, Inc.
> *
> * All rights reserved.
>
> and this:
> /*
> vi: set autoindent tabstop=4 shiftwidth=4 :
>
> * Copyright (c) 2003-2004 MontaVista Software, Inc.
> *
> * All rights reserved.
>
> But if it goes later it doesn't seem to work. Anyway, for those of us
> that usually use tabstop=8 this would be nice to have in the source
> files.
>
> Mark.
>
More information about the Openais
mailing list