]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
BIRD coding conventions
authorKenth Eriksson <kenth.eriksson@infinera.com>
Wed, 12 Jun 2019 13:03:37 +0000 (15:03 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 12 Jun 2019 14:37:12 +0000 (16:37 +0200)
Added Emacs config file describing BIRD coding conventions, as suggested
by Kenth Eriksson based on existing practice.

.dir-locals.el [new file with mode: 0644]

diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644 (file)
index 0000000..f1eb3b5
--- /dev/null
@@ -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)))