summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Pennock <pdp@exim.org>2015-08-27 23:15:01 -0400
committerPhil Pennock <pdp@exim.org>2015-08-27 23:15:01 -0400
commitbf5ffbb0aff762cd4640141a76a3afebad02ad89 (patch)
treef09163c8ab949bcbcf8b1be9fb20cbf61999d2f8
parentf1b81d811582d37370363ba0a7ea3bc2422a5e66 (diff)
Common .editorconfig file for text editors
-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
+