]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - .editorconfig
Merge pull request #25615 from DaanDeMeyer/mkosi-kconfig
[thirdparty/systemd.git] / .editorconfig
index 70b6c0f1390e4b4c84549959ce2467c118699fec..27bb3755d60e2a06d0b871308fbf6a2e5d90d1f8 100644 (file)
@@ -1,7 +1,10 @@
 # EditorConfig configuration for systemd
 # http://EditorConfig.org
 
-# top-most EditorConfig file
+# NOTE: If you update this file make sure to update .dir-locals.el and .vimrc,
+# too.
+
+# Top-most EditorConfig file
 root = true
 
 # Unix-style newlines with a newline ending every file, utf-8 charset
@@ -11,7 +14,29 @@ insert_final_newline = true
 trim_trailing_whitespace = true
 charset = utf-8
 
-# match config files, set indent to spaces with width of eight
+# Match config files, set indent to spaces with width of eight
 [*.{c,h}]
 indent_style = space
 indent_size = 8
+max_line_length = 109
+
+[*.sh]
+indent_style = space
+indent_size = 4
+
+[meson.build]
+indent_style = space
+indent_size = 8
+
+[man/*.xml]
+indent_size = 2
+indent_style = space
+max_line_length = 109
+
+[docs/**/*.css]
+indent_style = space
+indent_size = 2
+
+[docs/**/*.html]
+indent_style = space
+indent_size = 2