mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 02:00:33 +00:00
.editorconfig: Add some indentation settings
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1812>
This commit is contained in:
parent
64ad82e00c
commit
64833d2f12
1 changed files with 22 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue