]> git.ipfire.org Git - thirdparty/systemd.git/blob - .editorconfig
Merge pull request #23297 from medhefgo/trivial-auto-var-init
[thirdparty/systemd.git] / .editorconfig
1 # EditorConfig configuration for systemd
2 # http://EditorConfig.org
3
4 # NOTE: If you update this file make sure to update .dir-locals.el and .vimrc,
5 # too.
6
7 # Top-most EditorConfig file
8 root = true
9
10 # Unix-style newlines with a newline ending every file, utf-8 charset
11 [*]
12 end_of_line = lf
13 insert_final_newline = true
14 trim_trailing_whitespace = true
15 charset = utf-8
16
17 # Match config files, set indent to spaces with width of eight
18 [*.{c,h}]
19 indent_style = space
20 indent_size = 8
21 max_line_length = 109
22
23 [*.sh]
24 indent_style = space
25 indent_size = 4
26
27 [meson.build]
28 indent_style = space
29 indent_size = 8
30
31 [man/*.xml]
32 indent_size = 2
33 indent_style = space
34 max_line_length = 109
35
36 [docs/**/*.css]
37 indent_style = space
38 indent_size = 2
39
40 [docs/**/*.html]
41 indent_style = space
42 indent_size = 2