]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
add editorconfig configuration 1996/head
authorChristian Hesse <mail@eworm.de>
Mon, 23 Nov 2015 10:26:43 +0000 (11:26 +0100)
committerChristian Hesse <mail@eworm.de>
Mon, 23 Nov 2015 11:32:59 +0000 (12:32 +0100)
We want indention with spaces, so specify in editorconfig.
http://editorconfig.org/

.editorconfig [new file with mode: 0644]
Makefile.am

diff --git a/.editorconfig b/.editorconfig
new file mode 100644 (file)
index 0000000..70b6c0f
--- /dev/null
@@ -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
index cd9aea6bc8dd613e54d17273cc675caae4bddbad..319d71befeb9d378c0217fb8edad9a240fad418b 100644 (file)
@@ -660,6 +660,7 @@ EXTRA_DIST += \
        README.md \
        autogen.sh \
        .dir-locals.el \
+       .editorconfig \
        .vimrc \
        .ycm_extra_conf.py \
        .travis.yml \