summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenth Eriksson <kenth.eriksson@infinera.com>2019-06-12 15:03:37 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2019-06-12 16:37:12 +0200
commit8a2cbb88d1657b4aee366605cb3d8ffcc5d3f90a (patch)
tree605b0bf28681b7f11f0ff0a3e6baa9cc7c9b4a3a
parentd35fb9d732b05f20a556e9bda798939358459975 (diff)
BIRD coding conventions
Added Emacs config file describing BIRD coding conventions, as suggested by Kenth Eriksson based on existing practice.
-rw-r--r--.dir-locals.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644
index 00000000..f1eb3b51
--- /dev/null
+++ b/.dir-locals.el
@@ -0,0 +1,7 @@
+; BIRD project coding conventions
+
+((c-mode
+ (c-file-style . "bsd")
+ (c-basic-offset . 2)
+ (fill-column . 80)
+ (show-trailing-whitespace . t)))