mirror of
https://github.com/systemd/systemd
synced 2024-10-07 00:30:59 +00:00
add editorconfig configuration
We want indention with spaces, so specify in editorconfig. http://editorconfig.org/
This commit is contained in:
parent
aedf698f3e
commit
db787e7926
17
.editorconfig
Normal file
17
.editorconfig
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# EditorConfig configuration for systemd
|
||||||
|
# http://EditorConfig.org
|
||||||
|
|
||||||
|
# top-most EditorConfig file
|
||||||
|
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
|
||||||
|
|
||||||
|
# match config files, set indent to spaces with width of eight
|
||||||
|
[*.{c,h}]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 8
|
|
@ -660,6 +660,7 @@ EXTRA_DIST += \
|
||||||
README.md \
|
README.md \
|
||||||
autogen.sh \
|
autogen.sh \
|
||||||
.dir-locals.el \
|
.dir-locals.el \
|
||||||
|
.editorconfig \
|
||||||
.vimrc \
|
.vimrc \
|
||||||
.ycm_extra_conf.py \
|
.ycm_extra_conf.py \
|
||||||
.travis.yml \
|
.travis.yml \
|
||||||
|
|
Loading…
Reference in a new issue