| 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,shell-completion/zsh/_*}] |
| 28 |
indent_style = space |
| 29 |
indent_size = 4 |
| 30 |
|
| 31 |
[meson.build] |
| 32 |
indent_style = space |
| 33 |
indent_size = 8 |
| 34 |
|
| 35 |
[man/*.xml] |
| 36 |
indent_size = 2 |
| 37 |
indent_style = space |
| 38 |
max_line_length = 109 |
| 39 |
|
| 40 |
[docs/**/*.css] |
| 41 |
indent_style = space |
| 42 |
indent_size = 2 |
| 43 |
|
| 44 |
[docs/**/*.html] |
| 45 |
indent_style = space |
| 46 |
indent_size = 2 |