editorconfig: Use 3-space tabs for .rst
[platform/upstream/mesa.git] / .editorconfig
1 # To use this config on you editor, follow the instructions at:
2 # http://editorconfig.org
3
4 root = true
5
6 [*]
7 charset = utf-8
8 insert_final_newline = true
9 tab_width = 8
10
11 [*.{c,h,cpp,hpp,cc,hh}]
12 indent_style = space
13 indent_size = 3
14 max_line_length = 78
15
16 [{Makefile*,*.mk}]
17 indent_style = tab
18
19 [{*.py,SCons*}]
20 indent_style = space
21 indent_size = 4
22
23 [*.pl]
24 indent_style = space
25 indent_size = 4
26
27 [*.m4]
28 indent_style = space
29 indent_size = 2
30
31 [*.yml]
32 indent_style = space
33 indent_size = 2
34
35 [*.html]
36 indent_style = space
37 indent_size = 2
38
39 [*.rst]
40 indent_style = space
41 indent_size = 3
42
43 [*.patch]
44 trim_trailing_whitespace = false
45
46 [{meson.build,meson_options.txt}]
47 indent_style = space
48 indent_size = 2