From d7f10cbcbd22bbac38157b11ca33e89fdfd5d641 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 14 Jan 2019 00:50:33 -0500 Subject: [PATCH] lang/cc: fix brace-list argument block indentation Should be fn({ ... }) Instead of fn({ ... }) --- modules/lang/cc/config.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/lang/cc/config.el b/modules/lang/cc/config.el index 07b69cf87..d51450c2a 100644 --- a/modules/lang/cc/config.el +++ b/modules/lang/cc/config.el @@ -83,7 +83,6 @@ compilation database is present in the project.") (arglist-cont-nonempty)) (c-cleanup-list brace-else-brace) (c-offsets-alist - (statement-block-intro . +) (knr-argdecl-intro . 0) (substatement-open . 0) (substatement-label . 0) @@ -92,6 +91,8 @@ compilation database is present in the project.") ;; align args with open brace OR don't indent at all (if open ;; brace is at eolp and close brace is after arg with no trailing ;; comma) + (brace-list-intro . 0) + (brace-list-close . -) (arglist-intro . +) (arglist-close +cc-lineup-arglist-close 0) ;; don't over-indent lambda blocks