2017-06-12 04:27:20 +00:00
|
|
|
# EditorConfig is awesome: http://EditorConfig.org
|
|
|
|
# Since OBS follows the Linux kernel coding style I have started this file to
|
|
|
|
# help with automatically setting various text editors to those requirements.
|
|
|
|
|
|
|
|
# top-most EditorConfig file
|
|
|
|
root = true
|
|
|
|
|
|
|
|
# Unix-style newlines with a newline ending every file.
|
|
|
|
[*]
|
|
|
|
insert_final_newline = true
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
charset = utf-8
|
|
|
|
indent_style = tab
|
|
|
|
indent_size = 8
|
|
|
|
|
|
|
|
# As per notr1ch, for 3rd party code that's a part of obs-outputs.
|
|
|
|
[plugins/obs-outputs/librtmp/*.{cpp,c,h}]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
2022-03-17 20:57:16 +00:00
|
|
|
|
|
|
|
[CMakeLists.txt]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
[**/CMakeLists.txt]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
[cmake/**/*.cmake]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
2023-03-21 09:58:05 +00:00
|
|
|
|
2023-04-01 20:54:20 +00:00
|
|
|
[plugins/{rtmp-services,win-capture}/data/**/*.json]
|
2023-03-21 09:58:05 +00:00
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
2023-05-11 14:01:24 +00:00
|
|
|
|
|
|
|
[*.qss]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
2023-04-17 14:16:53 +00:00
|
|
|
|
|
|
|
[build-aux/**/*.json]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
|
|
|
|
|
|
|
[*.py]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
2023-08-12 23:29:58 +00:00
|
|
|
|
|
|
|
[*.yaml]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
[{*.zsh,.*.zsh,build-aux/.functions/*,.github/scripts/utils.zsh/*}]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
2023-09-14 09:17:30 +00:00
|
|
|
|
|
|
|
[*.ui]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 1
|
2024-04-21 10:16:02 +00:00
|
|
|
|
|
|
|
[{*.obt,*.oha,*.ovt}]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|