diff options
author | 3gg <3gg@shellblade.net> | 2025-08-30 16:53:58 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2025-08-30 16:53:58 -0700 |
commit | 6aaedb813fa11ba0679c3051bc2eb28646b9506c (patch) | |
tree | 34acbfc9840e02cb4753e6306ea7ce978bf8b58e /src/contrib/SDL-3.2.20/.editorconfig | |
parent | 8f228ade99dd3d4c8da9b78ade1815c9adf85c8f (diff) |
Update to SDL3
Diffstat (limited to 'src/contrib/SDL-3.2.20/.editorconfig')
-rw-r--r-- | src/contrib/SDL-3.2.20/.editorconfig | 69 |
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 | |||
5 | root = true | ||
6 | |||
7 | [*.{c,cc,cg,cpp,gradle,h,java,m,metal,pl,py,S,sh,txt}] | ||
8 | indent_size = 4 | ||
9 | indent_style = space | ||
10 | insert_final_newline = true | ||
11 | trim_trailing_whitespace = true | ||
12 | |||
13 | [*.{html,js,json,m4,yml,yaml,vcxproj,vcxproj.filters}] | ||
14 | indent_size = 2 | ||
15 | indent_style = space | ||
16 | trim_tailing_whitespace = true | ||
17 | |||
18 | [*.xml] | ||
19 | indent_size = 4 | ||
20 | indent_style = space | ||
21 | |||
22 | [{CMakeLists.txt,cmake/*.cmake}] | ||
23 | indent_size = 2 | ||
24 | indent_style = space | ||
25 | insert_final_newline = true | ||
26 | trim_trailing_whitespace = true | ||
27 | |||
28 | [{cmake/cmake_uninstall.cmake.in,test/CMakeLists.txt,cmake/SDL3Config.cmake.in}] | ||
29 | indent_size = 4 | ||
30 | indent_style = space | ||
31 | insert_final_newline = true | ||
32 | trim_trailing_whitespace = true | ||
33 | |||
34 | [{Makefile.*,*.mk,*.sln,*.pbxproj,*.plist}] | ||
35 | indent_size = 8 | ||
36 | indent_style = tab | ||
37 | tab_width = 8 | ||
38 | |||
39 | [src/joystick/controller_type.*] | ||
40 | indent_style = tab | ||
41 | |||
42 | [src/joystick/hidapi/steam/*.h] | ||
43 | indent_style = tab | ||
44 | |||
45 | [src/libm/*.c] | ||
46 | indent_style = tab | ||
47 | |||
48 | [src/test/SDL_test_{crc32,md5,random}.c] | ||
49 | indent_size = 2 | ||
50 | indent_style = space | ||
51 | |||
52 | [src/video/yuv2rgb/*.{c,h}] | ||
53 | indent_style = tab | ||
54 | |||
55 | [wayland-protocols/*.xml] | ||
56 | indent_size = 2 | ||
57 | indent_style = space | ||
58 | |||
59 | [*.{markdown,md}] | ||
60 | indent_size = 4 | ||
61 | indent_style = space | ||
62 | # Markdown syntax treats tabs as 4 spaces | ||
63 | tab_width = 4 | ||
64 | |||
65 | [{*.bat,*.rc}] | ||
66 | end_of_line = crlf | ||
67 | |||
68 | [*.cocci] | ||
69 | insert_final_newline = true | ||