summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.editorconfig22
1 files changed, 22 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 000000000..002005172
--- /dev/null
+++ b/.editorconfig
@@ -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
+