DragonFly BSD
DragonFly users List (threaded) for 2005-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: vi style(9) indent


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Sat, 26 Mar 2005 12:05:36 +0100

On 25.03.2005, at 22:16, Jonathon McKitrick wrote:


Does anyone know how to get vi to indent a wrapped parenthetical expression
to the same as the line above? e.g.:


void foo(int bar,
	 int *result)

i don't really understand what you want, but here is my vim config:


set cino=:0,g0,t0,+4,(0,u0,W4

using filetype indent plugin and cindent, of course.

i think it does a little bit different indentation than style(9) asks for, but well, can't have everything.

cheers
  simon

--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low $$$ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \

Attachment: PGP.sig
Description: This is a digitally signed message part



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