-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
executable file
·57 lines (44 loc) · 916 Bytes
/
.editorconfig
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
45
46
47
48
49
50
51
52
53
54
55
56
57
# http://EditorConfig.org
# Consistent coding style across different editors.
# NOTE: If you update this file make
# sure to update .dir-locals.el and .vimrc, too.
# Top-most EditorConfig file
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[NEWS]
indent_style = space
indent_size = 4
# Match config files, set indent to spaces with width of eight
[*.{c,h}]
indent_style = space
indent_size = 4
max_line_length = 109
[*.sh]
indent_style = space
indent_size = 4
max_line_length = 80
[meson.build]
indent_style = space
indent_size = 2
[meson_options.txt]
indent_style = space
indent_size = 8
[docs/**/*.css]
indent_style = space
indent_size = 2
[docs/**/*.html]
indent_style = space
indent_size = 2
[*.md]
indent_size = 2
trim_trailing_whitespace = false
[*.py]
indent_size = 4
[*.{xml,yml}]
indent_style = space
indent_size = 2
tab_width = 8