summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-03-29 16:27:45 +0200
committerLennart Poettering <lennart@poettering.net>2018-04-03 15:22:26 +0200
commit4afbb9004c4768ec4dd89fe293b688ccfea4c023 (patch)
tree907f33d6bda74451d166ae67c4001adc3e1eac46 /doc
parentupdate TODO (diff)
downloadsystemd-4afbb9004c4768ec4dd89fe293b688ccfea4c023.tar.xz
systemd-4afbb9004c4768ec4dd89fe293b688ccfea4c023.zip
CODING_STYLE: mention that we ship .editconfig/.vimrc/.dir-locals.el in our repo
Diffstat (limited to 'doc')
-rw-r--r--doc/CODING_STYLE8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/CODING_STYLE b/doc/CODING_STYLE
index 66771ef523..8ee7628051 100644
--- a/doc/CODING_STYLE
+++ b/doc/CODING_STYLE
@@ -7,9 +7,11 @@
comments easily discernable from explanatory, documenting code comments
(i.e. committable stuff).
-- Don't break code lines too eagerly. We do *not* force line breaks at
- 80ch, all of today's screens should be much larger than that. But
- then again, don't overdo it, ~119ch should be enough really.
+- Don't break code lines too eagerly. We do *not* force line breaks at 80ch,
+ all of today's screens should be much larger than that. But then again, don't
+ overdo it, ~119ch should be enough really. The .editorconfig, .vimrc and
+ .dir-locals.el files contained in the repository will set this limit up for
+ you automatically, if you let them (as well as a few other things).
- Variables and functions *must* be static, unless they have a
prototype, and are supposed to be exported.