]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - .editorconfig
Merge pull request #32588 from CodethinkLabs/mkosi-selinux
[thirdparty/systemd.git] / .editorconfig
index 70b6c0f1390e4b4c84549959ce2467c118699fec..f3dcdfeccfbab6abc211806d8b13397fc58d7bb1 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,33 @@ insert_final_newline = true
 trim_trailing_whitespace = true
 charset = utf-8
 
-# match config files, set indent to spaces with width of eight
+[NEWS]
+indent_style = space
+indent_size = 4
+
+# Match config files, set indent to spaces with width of eight
 [*.{c,h}]
 indent_style = space
 indent_size = 8
+max_line_length = 109
+
+[*.sh,mkosi.build,mkosi.prepare,mkosi.postinst]
+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