summary refs log tree commit diff stats
path: root/.editorconfig
diff options
context:
space:
mode:
authorMark Jansen <learn0more@gmail.com>2017-04-03 23:10:03 +0200
committerTingPing <tingping@tingping.se>2017-04-04 13:22:03 -0400
commita524adc698d34f1aeec11c6dbb11573123fc5891 (patch)
tree164145728510c1ec8d71883cb3863212c30c3dab /.editorconfig
parenteccd0d05b5f2c7d585cc8f565ee28b4d00f62438 (diff)
Add editorconfig, describing what indenting style to use.
See http://editorconfig.org/ for more info.
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..973cb4fe
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,14 @@
+# EditorConfig is awesome: http://EditorConfig.org
+
+# top-most EditorConfig file
+root = true
+
+[*.{c,cpp,h,hpp,m}]
+indent_style = tab
+indent_size = 4
+end_of_line = lf
+
+[*.cs]
+indent_style = space
+indent_size = 4
+end_of_line = lf