On Mon, May 4, 2009 at 12:36 AM, Asddfs Adf wrote: > I read the recommended section before posting. I am able to get > > /* > Comment > 1 > 2 > 3 > */ > > The problem is I can't get the closing '*' to align with the opening '/' (it > always align's the '*''s). The format-comments section talks about aligning > the middle section with the beginning or end section, but not aligning the > end section with the beginning. Is it possible to align the opening '/' > with the closing '*', or am I going to be stuck with deleting the space > infront of */ to meet our coding standard?
:set comments=s:/*,m:\ \ ,e-3:*/ cinkeys+=/ Seems to do the trick for me. > ________________________________ > From: Matt Wozniski <[email protected]> > To: [email protected] > Sent: Saturday, May 2, 2009 2:16:49 AM > Subject: Re: C Comment Autoindenting > > > On Sat, May 2, 2009 at 2:55 AM, Nicolas Sebrecht wrote: Please bottom post on this mailing list in the future; it's the established mailing list convention, which is why all the responses to your original question have been bottom posted. ~Matt --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
