lang/cc: fix brace-list argument block indentation
Should be fn({ ... }) Instead of fn({ ... })
This commit is contained in:
parent
957aa9c63e
commit
d7f10cbcbd
1 changed files with 2 additions and 1 deletions
|
@ -83,7 +83,6 @@ compilation database is present in the project.")
|
||||||
(arglist-cont-nonempty))
|
(arglist-cont-nonempty))
|
||||||
(c-cleanup-list brace-else-brace)
|
(c-cleanup-list brace-else-brace)
|
||||||
(c-offsets-alist
|
(c-offsets-alist
|
||||||
(statement-block-intro . +)
|
|
||||||
(knr-argdecl-intro . 0)
|
(knr-argdecl-intro . 0)
|
||||||
(substatement-open . 0)
|
(substatement-open . 0)
|
||||||
(substatement-label . 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
|
;; 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
|
;; brace is at eolp and close brace is after arg with no trailing
|
||||||
;; comma)
|
;; comma)
|
||||||
|
(brace-list-intro . 0)
|
||||||
|
(brace-list-close . -)
|
||||||
(arglist-intro . +)
|
(arglist-intro . +)
|
||||||
(arglist-close +cc-lineup-arglist-close 0)
|
(arglist-close +cc-lineup-arglist-close 0)
|
||||||
;; don't over-indent lambda blocks
|
;; don't over-indent lambda blocks
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue