Add a .editorconfig file (4 spaces indentation)
authorBernie Innocenti <codewiz@google.com>
Sat, 30 Jun 2018 07:29:40 +0000 (16:29 +0900)
committerBernie Innocenti <codewiz@google.com>
Sat, 30 Jun 2018 07:29:40 +0000 (16:29 +0900)
.editorconfig [new file with mode: 0644]

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