diff options
| author | 3gg <3gg@shellblade.net> | 2025-12-27 12:03:39 -0800 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2025-12-27 12:03:39 -0800 |
| commit | 5a079a2d114f96d4847d1ee305d5b7c16eeec50e (patch) | |
| tree | 8926ab44f168acf787d8e19608857b3af0f82758 /contrib/SDL-3.2.8/.editorconfig | |
Initial commit
Diffstat (limited to 'contrib/SDL-3.2.8/.editorconfig')
| -rw-r--r-- | contrib/SDL-3.2.8/.editorconfig | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/contrib/SDL-3.2.8/.editorconfig b/contrib/SDL-3.2.8/.editorconfig new file mode 100644 index 0000000..1618303 --- /dev/null +++ b/contrib/SDL-3.2.8/.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 | ||
