aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.editorconfig23
1 files changed, 23 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..edf8aa1
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,23 @@
1root = true
2
3[*]
4end_of_line = lf
5insert_final_newline = true
6trim_trailing_whitespace = true
7charset = utf-8
8
9[*.{lua,rockspec}]
10indent_style = space
11indent_size = 4
12
13[Makefile]
14indent_style = tab
15indent_size = 4
16
17[*.html]
18indent_style = space
19indent_size = 4
20
21[*.{c,h}]
22indent_style = space
23indent_size = 4