]> git.proxmox.com Git - mirror_qemu.git/blame - .editorconfig
Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging
[mirror_qemu.git] / .editorconfig
CommitLineData
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
8root = true
9
10[*]
11end_of_line = lf
12insert_final_newline = true
13charset = utf-8
14
1ad723e9
MAL
15[*.mak]
16indent_style = tab
17indent_size = 8
18file_type_emacs = makefile
19
a62e20f6
GH
20[Makefile*]
21indent_style = tab
22indent_size = 8
1ad723e9 23file_type_emacs = makefile
a62e20f6
GH
24
25[*.{c,h}]
26indent_style = space
27indent_size = 4
1ad723e9 28
9b109f56
AB
29[*.sh]
30indent_style = space
31indent_size = 4
32
9699e5fb
AB
33[*.{s,S}]
34indent_style = tab
35indent_size = 8
36file_type_emacs = asm
37
1ad723e9
MAL
38[*.{vert,frag}]
39file_type_emacs = glsl
40
41[*.json]
42indent_style = space
43file_type_emacs = python