summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-11-23 18:17:57 +0100
committerDaniel Mack <github@zonque.org>2015-11-23 18:17:57 +0100
commit9e6a4d57b6d5014f0941c5e03bb3d089a795e9d9 (patch)
tree3c9aef0ee5b8856701ffc1e483fba79572ca8f4a /.editorconfig
parent3719f851e3cbf25ce6b195ed9982d0b9d25a34d4 (diff)
parentdb787e79264e0bb996528b505377a9f935b1e186 (diff)
Merge pull request #1996 from eworm-de/editorconfig
add editorconfig configuration
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig17
1 files changed, 17 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000000..70b6c0f139
--- /dev/null
+++ b/.editorconfig
@@ -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