]>
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 MAL |
28 | |
29 | [*.{vert,frag}] | |
30 | file_type_emacs = glsl | |
31 | ||
32 | [*.json] | |
33 | indent_style = space | |
34 | file_type_emacs = python |