summaryrefslogtreecommitdiff
path: root/lib/mesa/.editorconfig
blob: 3c6b234f1826e1587c1ae7b1048dc921c49f8d84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# To use this config on you editor, follow the instructions at:
# http://editorconfig.org

root = true

[*]
charset = utf-8
insert_final_newline = true
tab_width = 8

[*.{c,h,cpp,hpp,cc,hh,y,yy}]
indent_style = space
indent_size = 3
max_line_length = 78

[{Makefile*,*.mk}]
indent_style = tab

[*.py]
indent_style = space
indent_size = 4

[*.yml]
indent_style = space
indent_size = 2

[*.rst]
indent_style = space
indent_size = 3

[*.patch]
trim_trailing_whitespace = false

[{meson.build,meson_options.txt}]
indent_style = space
indent_size = 2

[*.ps1]
indent_style = space
indent_size = 2

[*.rs]
indent_style = space
indent_size = 4