mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
Better C code formatting of arguments in Emacs
In [PR#11696][1] it came up that the formatting of continued arguments should follow the default Emacs style. To ensure this happens when someone has changed his setting in her private config, the value should be set by *dir-locals.el*. [1]: https://github.com/systemd/systemd/pull/11696#pullrequestreview-205463987
This commit is contained in:
parent
154c83e1b9
commit
df3489ab1b
@ -15,7 +15,8 @@
|
||||
(eval . (c-set-offset 'statement-case-open 0))
|
||||
(eval . (c-set-offset 'case-label 0))
|
||||
(eval . (c-set-offset 'arglist-intro '++))
|
||||
(eval . (c-set-offset 'arglist-close 0))))
|
||||
(eval . (c-set-offset 'arglist-close 0))
|
||||
(eval . (c-set-offset 'arglist-cont-nonempty '(c-lineup-gcc-asm-reg c-lineup-arglist)))))
|
||||
(nxml-mode . ((nxml-child-indent . 2)
|
||||
(fill-column . 109)))
|
||||
(meson-mode . ((meson-indent-basic . 8)))
|
||||
|
Loading…
Reference in New Issue
Block a user