Common .editorconfig file for text editors
authorPhil Pennock <pdp@exim.org>
Fri, 28 Aug 2015 03:15:01 +0000 (23:15 -0400)
committerPhil Pennock <pdp@exim.org>
Fri, 28 Aug 2015 03:15:01 +0000 (23:15 -0400)
.editorconfig [new file with mode: 0644]

diff --git a/.editorconfig b/.editorconfig
new file mode 100644 (file)
index 0000000..0020051
--- /dev/null
@@ -0,0 +1,22 @@
+# Common text-editor configuration for Exim
+# http://editorconfig.org/
+
+# top-most EditorConfig file
+root = true
+
+# Unix-style newlines with a newline ending every file
+[*]
+end_of_line = lf
+insert_final_newline = true
+
+[*.{c,h}]
+indent_style = space
+indent_size = 2
+tab_width = 8
+trim_trailing_whitespace = true
+# vim users try: cinoptions=>1s,{1s
+
+# Tab indentation (no size specified)
+[Makefile]
+indent_style = tab
+