Thursday, July 19, 2012

Re: c func defn alignment with multiple args

On 2012-07-19, sinbad wrote:
> i have a the following function defn.
> if i try to indent the first two lines with " = "
> i get the following.
>
> void
> function_with_many_args(int arg1, int arg2, int arg3,
> int arg4)
> {
> }
>
> but i want the second line to be aligned to first paranthesis.
> how can i do that.
>
> void
> function_with_many_args(int arg1, int arg2, int arg3,
> int arg4)
> {
> }

set cino+=(0

:help cino-(

Regards,
Gary

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: