diff options
-rw-r--r-- | .editorconfig | 23 |
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 @@ | |||
1 | root = true | ||
2 | |||
3 | [*] | ||
4 | end_of_line = lf | ||
5 | insert_final_newline = true | ||
6 | trim_trailing_whitespace = true | ||
7 | charset = utf-8 | ||
8 | |||
9 | [*.{lua,rockspec}] | ||
10 | indent_style = space | ||
11 | indent_size = 4 | ||
12 | |||
13 | [Makefile] | ||
14 | indent_style = tab | ||
15 | indent_size = 4 | ||
16 | |||
17 | [*.html] | ||
18 | indent_style = space | ||
19 | indent_size = 4 | ||
20 | |||
21 | [*.{c,h}] | ||
22 | indent_style = space | ||
23 | indent_size = 4 | ||