summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <jan.steffens@ltnglobal.com>2022-02-28 14:21:52 +0100
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2022-06-14 14:53:07 +0000
commit64833d2f127477f0f24a3fc09c9fe695edca5b91 (patch)
tree9e87e5ab871aa4548c652ef05b81051a7c65e86b /.editorconfig
parent64ad82e00cafdc55293f3bc68ac502604dd2a8d5 (diff)
downloadgstreamer-64833d2f127477f0f24a3fc09c9fe695edca5b91.tar.gz
.editorconfig: Add some indentation settings
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1812>
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig22
1 files changed, 22 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
index f4e17c9d05..0583349e41 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -6,3 +6,25 @@ end_of_line = lf
indent_style = space
trim_trailing_whitespace = true
insert_final_newline = true
+indent_size = 2
+max_line_length = 80
+
+# PEP 8
+[*.py]
+indent_size = 4
+max_line_length = 79
+
+# rustfmt defaults
+[*.rs]
+indent_size = 4
+max_line_length = 100
+
+# From gst-examples
+[*.js]
+indent_size = 4
+max_line_length = 80
+
+[{Makefile,Makefile.am}]
+indent_style = tab
+indent_size = tab
+tab_width = 8