2015-11-23 18:26:43 +08:00
|
|
|
# EditorConfig configuration for systemd
|
|
|
|
# http://EditorConfig.org
|
|
|
|
|
2016-02-10 19:27:35 +08:00
|
|
|
# NOTE: If you update this file make sure to update .dir-locals.el and .vimrc,
|
|
|
|
# too.
|
|
|
|
|
|
|
|
# Top-most EditorConfig file
|
2015-11-23 18:26:43 +08:00
|
|
|
root = true
|
|
|
|
|
|
|
|
# Unix-style newlines with a newline ending every file, utf-8 charset
|
|
|
|
[*]
|
|
|
|
end_of_line = lf
|
|
|
|
insert_final_newline = true
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
charset = utf-8
|
|
|
|
|
2016-02-10 19:27:35 +08:00
|
|
|
# Match config files, set indent to spaces with width of eight
|
2015-11-23 18:26:43 +08:00
|
|
|
[*.{c,h}]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 8
|
2017-08-28 22:37:23 +08:00
|
|
|
|
|
|
|
[meson.build]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 8
|