summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.editorconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000000..bc68ff24c82
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,16 @@
1root = true
2
3[*.{c,h,cpp,hpp,el,scm,ac,am,m4,po}{,.in}]
4end_of_line = lf
5insert_final_newline = true
6charset = utf-8
7trim_trailing_whitespace = true
8
9[*.{c,h,cpp,hpp,ac,am,m4,el,scm}{,.in}]
10max_line_length = 85
11
12[*.{c,h,cpp,hpp,ac,m4,el,scm}{,.in}]
13indent_style = space
14
15[*.{c,h,cpp,hpp}{,.in}]
16indent_size = 4