-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
41 lines (33 loc) · 1.09 KB
/
.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
#-*-mode:conf-*-
# editorconfig file (see EditorConfig.org), with some
# lowest-denominator settings that should work for many editors.
root = true # this is the top-level
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true
# The "best" answer is "tabs-for-indentation; spaces for alignment", but in
# practice that's hard to accomplish in many editors.
#
# So we use spaces instead, at least that looks consistent for all
[*.{cc,cpp,hh,hpp}]
indent_style = space
indent_size = 8
max_line_length = 100
[*.{c,h}]
indent_style = space
indent_size = 8
max_line_length = 80
[configure.ac]
indent_style = space
indent_size = 4
max_line_length = 100
[Makefile.am]
indent_style = tab
indent_size = 8
max_line_length = 100
[*.el]
indent_style = space
indent_size = 2
max_line_length = 100