]>
Commit | Line | Data |
---|---|---|
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 | ||
8 | root = true | |
9 | ||
10 | [*] | |
11 | end_of_line = lf | |
12 | insert_final_newline = true | |
13 | charset = utf-8 | |
14 | ||
15 | [*.mak] | |
16 | indent_style = tab | |
17 | indent_size = 8 | |
18 | file_type_emacs = makefile | |
19 | ||
20 | [Makefile*] | |
21 | indent_style = tab | |
22 | indent_size = 8 | |
23 | file_type_emacs = makefile | |
24 | ||
25 | [*.{c,h}] | |
26 | indent_style = space | |
27 | indent_size = 4 | |
28 | ||
29 | [*.sh] | |
30 | indent_style = space | |
31 | indent_size = 4 | |
32 | ||
33 | [*.{s,S}] | |
34 | indent_style = tab | |
35 | indent_size = 8 | |
36 | file_type_emacs = asm | |
37 | ||
38 | [*.{vert,frag}] | |
39 | file_type_emacs = glsl | |
40 | ||
41 | [*.json] | |
42 | indent_style = space | |
43 | file_type_emacs = python |