summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorErick Pérez Castellanos <erick.red@gmail.com>2015-04-26 15:14:55 -0400
committerErick Pérez Castellanos <erick.red@gmail.com>2015-04-26 15:14:55 -0400
commitaf75852b77274b3569250ab6010283f1e5761d87 (patch)
treee14ceb93d1917d654cd0934389e03cf219732be6 /.editorconfig
parent0ac46215eb1fddb308d72badf72075b96b8d4e3c (diff)
downloadgnome-calendar-af75852b77274b3569250ab6010283f1e5761d87.tar.gz
misc: add editorconfig file
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig20
1 files changed, 20 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..dfa12dd2
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,20 @@
+# EditorConfig is awesome: 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
+charset = utf-8
+indent_style = space
+
+[*.c]
+indent_size = 2
+tab_width = 8
+max_line_length = 120
+
+# Tab indentation (no size specified)
+[Makefile]
+indent_style = tab