Skip to content

Commit 293dfc1

Browse files
committed
Add editor config
1 parent 9c8cb6c commit 293dfc1

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.editorconfig

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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+
[NEWS]
18+
indent_style = space
19+
indent_size = 4
20+
21+
# Match config files, set indent to spaces with width of eight
22+
[*.{c,h}]
23+
indent_style = space
24+
indent_size = 8
25+
max_line_length = 109
26+
27+
[*.sh,mkosi.build,mkosi.prepare,mkosi.postinst]
28+
indent_style = space
29+
indent_size = 4
30+
31+
[meson.build]
32+
indent_style = space
33+
indent_size = 8
34+

0 commit comments

Comments
 (0)