🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
1.5 KiB

  1. # For format see editorconfig.org
  2. # Copyright 2022 Collabora Ltd.
  3. # SPDX-License-Identifier: Zlib
  4. root = true
  5. [*.{c,cg,cpp,gradle,h,java,m,metal,pl,py,S,sh,txt}]
  6. indent_size = 4
  7. indent_style = space
  8. insert_final_newline = true
  9. trim_trailing_whitespace = true
  10. [*.{html,js,json,m4,yml,yaml,vcxproj,vcxproj.filters}]
  11. indent_size = 2
  12. indent_style = space
  13. [*.xml]
  14. indent_size = 4
  15. indent_style = space
  16. [{CMakeLists.txt,sdl2-config*.cmake.in,cmake/*.cmake}]
  17. indent_size = 2
  18. indent_style = space
  19. [{cmake_uninstall.cmake.in,test/CMakeLists.txt}]
  20. indent_size = 4
  21. indent_style = space
  22. [configure.ac]
  23. # Inconsistently 2-, 4- or occasionally 3-space indented, but mostly 4,
  24. # so let's use 4 for new code
  25. indent_size = 4
  26. indent_style = space
  27. [{Makefile.*,*.mk,*.sln,*.pbxproj,*.plist}]
  28. indent_size = 8
  29. indent_style = tab
  30. tab_width = 8
  31. [Makefile.os2]
  32. indent_size = 4
  33. indent_style = space
  34. [test/Makefile.os2]
  35. indent_size = 2
  36. indent_style = space
  37. [{src/core/os2/geniconv/makefile,src/core/os2/geniconv/os2cp.c}]
  38. indent_size = 2
  39. indent_style = space
  40. [src/joystick/controller_type.*]
  41. indent_style = tab
  42. [src/joystick/hidapi/steam/*.h]
  43. indent_style = tab
  44. [src/libm/*.c]
  45. indent_style = tab
  46. [src/test/SDL_test_{crc32,md5,random}.c]
  47. indent_size = 2
  48. indent_style = space
  49. [src/video/yuv2rgb/*.{c,h}]
  50. indent_style = tab
  51. [wayland-protocols/*.xml]
  52. indent_size = 2
  53. indent_style = space
  54. [*.{markdown,md}]
  55. indent_size = 4
  56. indent_style = space
  57. # Markdown syntax treats tabs as 4 spaces
  58. tab_width = 4
  59. [{*.bat,*.rc}]
  60. end_of_line = crlf