Re: [PATCH] devel/uncrustify: add line length limits.

Subject: Re: [PATCH] devel/uncrustify: add line length limits.

Date: Mon, 08 Mar 2021 19:38:16 +0200

To: David Bremner, notmuch@notmuchmail.org

Cc: David Bremner

From: Tomi Ollila


On Sun, Mar 07 2021, David Bremner wrote:

> A generous limit of 102 is chosen to moderate the amount of resulting
> reformatting.

LGTM

Tomi


> ---
>  devel/uncrustify.cfg | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/devel/uncrustify.cfg b/devel/uncrustify.cfg
> index c36c33d6..d203d4e1 100644
> --- a/devel/uncrustify.cfg
> +++ b/devel/uncrustify.cfg
> @@ -119,3 +119,9 @@ cmt_star_cont		= true
>  # indent_brace		= 0
>  
>  indent_class = true
> +
> +# line width / line splitting
> +code_width            102
> +ls_for_split_full     True
> +ls_func_split_full    True
> +ls_code_width         True
> -- 
> 2.30.1
> _______________________________________________
> notmuch mailing list -- notmuch@notmuchmail.org
> To unsubscribe send an email to notmuch-leave@notmuchmail.org
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: