Commit | Line | Data |
---|---|---|
2c2fbd95 | 1 | ; Keep this consistent with .gitattributes |
aed7e4dc | 2 | ; http://editorconfig.org/#supported-properties |
2c2fbd95 | 3 | |
aed7e4dc | 4 | root = true ; top-most EditorConfig file |
5 | ||
6 | [*] | |
7 | end_of_line = lf | |
8 | insert_final_newline = false | |
9 | ||
2c2fbd95 P |
10 | ; Markdown: KEEP trailing whitespace! |
11 | [*.{md,markdown}] | |
12 | trim_trailing_whitespace = false | |
13 | end_of_line = lf | |
14 | charset = utf-8 | |
aed7e4dc | 15 | |
2c2fbd95 P |
16 | ; C,C++: 4 space indentation |
17 | [*.{c,h,cpp}] | |
aed7e4dc | 18 | charset = latin1 |
19 | indent_style = space | |
20 | indent_size = 4 | |
2c2fbd95 P |
21 | trim_trailing_whitespace = true |
22 | ;insert_final_newline = true | |
aed7e4dc | 23 | |
24 | [*.txt] | |
25 | indent_style = tab | |
26 | indent_size = 8 | |
27 | end_of_line = crlf | |
aed7e4dc | 28 | |
29 | [*.bat] | |
30 | end_of_line = crlf | |
31 | indent_style = space | |
32 | indent_size = 2 |