]>
Commit | Line | Data |
---|---|---|
68346b69 TB |
1 | # http://editorconfig.org |
2 | ||
3 | root = true | |
4 | ||
5 | [*] | |
6 | charset = utf-8 | |
7 | # for alignment reasons the last tab may be replaced with < indent_size spaces, | |
8 | # which we currently can't configure here | |
9 | indent_style = tab | |
10 | indent_size = 4 | |
11 | end_of_line = lf | |
12 | insert_final_newline = true | |
13 | trim_trailing_whitespace = true | |
14 | block_comment_start = /* | |
15 | block_comment = * | |
16 | block_comment_end = */ | |
17 | ||
18 | # don't change these files | |
19 | [{doc/**,src/include/{linux,sys}/**,testing/{hosts,tests}/**,AUTHORS,COPYING}] | |
20 | charset = unset | |
21 | indent_style = unset | |
22 | indent_size = unset | |
23 | end_of_line = unset | |
24 | insert_final_newline = unset | |
25 | trim_trailing_whitespace = unset | |
26 | ||
27 | # never trim whitespace in patches, everything else should not be changed | |
28 | [*.patch] | |
29 | trim_trailing_whitespace = false | |
30 | charset = unset | |
31 | indent_style = unset | |
32 | indent_size = unset | |
33 | end_of_line = unset | |
34 | insert_final_newline = unset | |
35 | ||
36 | [{.*,NEWS,README,INSTALL,*.{gemspec.in,pod,rb,ui}}] | |
37 | indent_style = space | |
38 | indent_size = 2 | |
39 | ||
40 | [*.{gpr,adb,ads}] | |
41 | indent_style = space | |
42 | indent_size = 3 | |
43 | line_comment = -- | |
44 | ||
45 | [{*.{md,gradle,xml},HACKING}] | |
46 | indent_style = space | |
47 | indent_size = 4 | |
48 | ||
49 | [src/libcharon/plugins/vici/README.md] | |
50 | indent_style = tab | |
51 | ||
52 | [src/libcharon/plugins/vici/**/*.{rst,PL,pm,py}] | |
53 | indent_style = space | |
54 | indent_size = 4 |