SDL

Форк
0
/
.editorconfig 
69 строк · 1.3 Кб
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
70

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.