]>
Commit | Line | Data |
---|---|---|
1ad723e9 MAL |
1 | # EditorConfig is a file format and collection of text editor plugins |
2 | # for maintaining consistent coding styles between different editors | |
3 | # and IDEs. Most popular editors support this either natively or via | |
4 | # plugin. | |
5 | # | |
6 | # Check https://editorconfig.org for details. | |
7 | ||
a62e20f6 GH |
8 | root = true |
9 | ||
10 | [*] | |
11 | end_of_line = lf | |
12 | insert_final_newline = true | |
13 | charset = utf-8 | |
14 | ||
1ad723e9 MAL |
15 | [*.mak] |
16 | indent_style = tab | |
17 | indent_size = 8 | |
18 | file_type_emacs = makefile | |
19 | ||
a62e20f6 GH |
20 | [Makefile*] |
21 | indent_style = tab | |
22 | indent_size = 8 | |
1ad723e9 | 23 | file_type_emacs = makefile |
a62e20f6 GH |
24 | |
25 | [*.{c,h}] | |
26 | indent_style = space | |
27 | indent_size = 4 | |
1ad723e9 | 28 | |
9b109f56 AB |
29 | [*.sh] |
30 | indent_style = space | |
31 | indent_size = 4 | |
32 | ||
9699e5fb AB |
33 | [*.{s,S}] |
34 | indent_style = tab | |
35 | indent_size = 8 | |
36 | file_type_emacs = asm | |
37 | ||
1ad723e9 MAL |
38 | [*.{vert,frag}] |
39 | file_type_emacs = glsl | |
40 | ||
41 | [*.json] | |
42 | indent_style = space | |
43 | file_type_emacs = python |