Add a .editorconfig file (4 spaces indentation)
[mandelwow.git] / .editorconfig
diff --git a/.editorconfig b/.editorconfig
new file mode 100644 (file)
index 0000000..5ca9c0f
--- /dev/null
@@ -0,0 +1,16 @@
+# http://EditorConfig.org
+
+# Top-most EditorConfig file
+root = true
+
+# Unix-style newlines with a newline ending every file, utf-8 charset
+[*]
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+charset = utf-8
+
+# Match config files, set indent to spaces with width of 4
+[*.{c,cc,cpp,h,rs}]
+indent_style = space
+indent_size = 4