]> git.proxmox.com Git - mirror_qemu.git/blame - .editorconfig
hw/arm: Extract at24c_eeprom_init helper from Aspeed and Nuvoton boards
[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.
2c9192c1
AB
7#
8# Emacs: you need https://github.com/10sr/editorconfig-custom-majormode-el
9# to automatically enable the appropriate major-mode for your files
10# that aren't already caught by your existing config.
11#
1ad723e9 12
a62e20f6
GH
13root = true
14
15[*]
16end_of_line = lf
17insert_final_newline = true
18charset = utf-8
19
1ad723e9
MAL
20[*.mak]
21indent_style = tab
22indent_size = 8
2c9192c1 23emacs_mode = makefile
1ad723e9 24
a62e20f6
GH
25[Makefile*]
26indent_style = tab
27indent_size = 8
2c9192c1 28emacs_mode = makefile
a62e20f6 29
139c1837 30[*.{c,h,c.inc,h.inc}]
a62e20f6
GH
31indent_style = space
32indent_size = 4
2c9192c1 33emacs_mode = c
1ad723e9 34
9b109f56
AB
35[*.sh]
36indent_style = space
37indent_size = 4
38
9699e5fb
AB
39[*.{s,S}]
40indent_style = tab
41indent_size = 8
2c9192c1 42emacs_mode = asm
9699e5fb 43
1ad723e9 44[*.{vert,frag}]
2c9192c1 45emacs_mode = glsl
1ad723e9
MAL
46
47[*.json]
48indent_style = space
2c9192c1 49emacs_mode = python