summaryrefslogtreecommitdiff
path: root/src/contrib/SDL-3.2.20/.editorconfig
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2025-08-30 16:53:58 -0700
committer3gg <3gg@shellblade.net>2025-08-30 16:53:58 -0700
commit6aaedb813fa11ba0679c3051bc2eb28646b9506c (patch)
tree34acbfc9840e02cb4753e6306ea7ce978bf8b58e /src/contrib/SDL-3.2.20/.editorconfig
parent8f228ade99dd3d4c8da9b78ade1815c9adf85c8f (diff)
Update to SDL3
Diffstat (limited to 'src/contrib/SDL-3.2.20/.editorconfig')
-rw-r--r--src/contrib/SDL-3.2.20/.editorconfig69
1 files changed, 69 insertions, 0 deletions
diff --git a/src/contrib/SDL-3.2.20/.editorconfig b/src/contrib/SDL-3.2.20/.editorconfig
new file mode 100644
index 0000000..1618303
--- /dev/null
+++ b/src/contrib/SDL-3.2.20/.editorconfig
@@ -0,0 +1,69 @@
1# For format see editorconfig.org
2# Copyright 2022 Collabora Ltd.
3# SPDX-License-Identifier: Zlib
4
5root = true
6
7[*.{c,cc,cg,cpp,gradle,h,java,m,metal,pl,py,S,sh,txt}]
8indent_size = 4
9indent_style = space
10insert_final_newline = true
11trim_trailing_whitespace = true
12
13[*.{html,js,json,m4,yml,yaml,vcxproj,vcxproj.filters}]
14indent_size = 2
15indent_style = space
16trim_tailing_whitespace = true
17
18[*.xml]
19indent_size = 4
20indent_style = space
21
22[{CMakeLists.txt,cmake/*.cmake}]
23indent_size = 2
24indent_style = space
25insert_final_newline = true
26trim_trailing_whitespace = true
27
28[{cmake/cmake_uninstall.cmake.in,test/CMakeLists.txt,cmake/SDL3Config.cmake.in}]
29indent_size = 4
30indent_style = space
31insert_final_newline = true
32trim_trailing_whitespace = true
33
34[{Makefile.*,*.mk,*.sln,*.pbxproj,*.plist}]
35indent_size = 8
36indent_style = tab
37tab_width = 8
38
39[src/joystick/controller_type.*]
40indent_style = tab
41
42[src/joystick/hidapi/steam/*.h]
43indent_style = tab
44
45[src/libm/*.c]
46indent_style = tab
47
48[src/test/SDL_test_{crc32,md5,random}.c]
49indent_size = 2
50indent_style = space
51
52[src/video/yuv2rgb/*.{c,h}]
53indent_style = tab
54
55[wayland-protocols/*.xml]
56indent_size = 2
57indent_style = space
58
59[*.{markdown,md}]
60indent_size = 4
61indent_style = space
62# Markdown syntax treats tabs as 4 spaces
63tab_width = 4
64
65[{*.bat,*.rc}]
66end_of_line = crlf
67
68[*.cocci]
69insert_final_newline = true