[OpenAFS-devel] Re: vim settings
Michael Meffie
mmeffie@sinenomine.net
Wed, 18 May 2011 19:57:23 -0400
Andrew Deason wrote:
> On Wed, 18 May 2011 18:33:10 -0400
> Jeff Blaine <jblaine@kickflop.net> wrote:
>
>> Who has "OpenAFS coding style" vim settings they can
>> pass along? Alternately, is there a document?
>
> <http://wiki.openafs.org/AFSLore/CodingStyle/> has some guidelines. iirc
> I don't disagree with most of it.
>
> These should make vim more likely to follow our disgusting indenting
> style:
>
> set softtabstop=4
> set shiftwidth=4
> set tabstop=8
Also, the gnu indent options are:
-npro -nbad -bap -nbc -bbo -br -ce -cdw -brs -ncdb -cp1 -ncs -di2 -ndj -nfc1
-nfca -i4 -lp -npcs -nprs -psl -sc -nsob -ts8
(from git commit 872bc94f8ce5d38f0a12e7cec455a2cb368b7427)