aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2017-02-08 23:03:04 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2017-02-08 23:03:04 +0000
commit8a4f42a7136e9b30402ad22e8e1a34d420966cd8 (patch)
tree7f5f946478b47e8d6cac2115a78764efba2ac29e /.editorconfig
parent2432daf4cf58b5ff11e008ca34811588285c43b3 (diff)
downloadlibepoxy-8a4f42a7136e9b30402ad22e8e1a34d420966cd8.tar.gz
Add editorconfig file
The editorconfig[0] format is getting traction in various code editors. [0]: http://editorconfig.org/
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig30
1 files changed, 30 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..ce6000d
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,30 @@
+root = true
+
+[*]
+charset = utf-8
+
+[*.{c,h}]
+indent_style = space
+indent_size = 4
+end_of_line = lf
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[configure.ac]
+indent_style = tab
+indent_size = 8
+
+[Makefile.am]
+indent_style = tab
+indent_size = 8
+
+[.travis.yml]
+indent_style = space
+indent_size = 2
+
+[*.md]
+trim_trailing_whitespace = false
+
+[meson.build]
+indent_style = space
+indent_size = 8