1
0
Эх сурвалжийг харах

Merge pull request #946 from c3r1c3/EditorConfig

.editorconfig: Add file to speed up editor configuration
Jim 8 жил өмнө
parent
commit
aedb85f5d3
1 өөрчлөгдсөн 19 нэмэгдсэн , 0 устгасан
  1. 19 0
      .editorconfig

+ 19 - 0
.editorconfig

@@ -0,0 +1,19 @@
+# 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