1b877906bSopenharmony_ci# EditorConfig for GLFW and its internal dependencies
2b877906bSopenharmony_ci#
3b877906bSopenharmony_ci# All files created by GLFW should indent with four spaces unless their format requires
4b877906bSopenharmony_ci# otherwise.  A few files still use other indent styles for historical reasons.
5b877906bSopenharmony_ci#
6b877906bSopenharmony_ci# Dependencies have (what seemed to be) their existing styles described.  Those with
7b877906bSopenharmony_ci# existing trailing whitespace have it preserved to avoid cluttering future commits.
8b877906bSopenharmony_ci
9b877906bSopenharmony_ciroot = true
10b877906bSopenharmony_ci
11b877906bSopenharmony_ci[*]
12b877906bSopenharmony_cicharset = utf-8
13b877906bSopenharmony_ciend_of_line = lf
14b877906bSopenharmony_ci
15b877906bSopenharmony_ci[include/GLFW/*.h]
16b877906bSopenharmony_ciindent_style = space
17b877906bSopenharmony_ciindent_size = 4
18b877906bSopenharmony_ci
19b877906bSopenharmony_ci[{src,examples,tests}/*.{c,m,h,rc,in}]
20b877906bSopenharmony_ciindent_style = space
21b877906bSopenharmony_ciindent_size = 4
22b877906bSopenharmony_ci
23b877906bSopenharmony_ci[CMakeLists.txt]
24b877906bSopenharmony_ciindent_style = space
25b877906bSopenharmony_ciindent_size = 4
26b877906bSopenharmony_ci
27b877906bSopenharmony_ci[CMake/**.{cmake,in}]
28b877906bSopenharmony_ciindent_style = space
29b877906bSopenharmony_ciindent_size = 4
30b877906bSopenharmony_ci
31b877906bSopenharmony_ci[*.{md}]
32b877906bSopenharmony_ciindent_style = space
33b877906bSopenharmony_ciindent_size = 4
34b877906bSopenharmony_citrim_trailing_whitespace = false
35b877906bSopenharmony_ci
36b877906bSopenharmony_ci[DoxygenLayout.xml]
37b877906bSopenharmony_ciindent_style = space
38b877906bSopenharmony_ciindent_size = 2
39b877906bSopenharmony_ci
40b877906bSopenharmony_ci[docs/*.{scss,html}]
41b877906bSopenharmony_ciindent_style = tab
42b877906bSopenharmony_ciindent_size = unset
43b877906bSopenharmony_ci
44b877906bSopenharmony_ci[deps/mingw/*.h]
45b877906bSopenharmony_ciindent_style = space
46b877906bSopenharmony_ciindent_size = 4
47b877906bSopenharmony_citab_width = 8
48b877906bSopenharmony_citrim_trailing_whitespace = false
49b877906bSopenharmony_ci
50b877906bSopenharmony_ci[deps/getopt.{c,h}]
51b877906bSopenharmony_ciindent_style = space
52b877906bSopenharmony_ciindent_size = 2
53b877906bSopenharmony_ci
54b877906bSopenharmony_ci[deps/linmath.h]
55b877906bSopenharmony_ciindent_style = tab
56b877906bSopenharmony_citab_width = 4
57b877906bSopenharmony_ciindent_size = 4
58b877906bSopenharmony_citrim_trailing_whitespace = false
59b877906bSopenharmony_ci
60b877906bSopenharmony_ci[deps/nuklear*.h]
61b877906bSopenharmony_ciindent_style = space
62b877906bSopenharmony_ciindent_size = 4
63b877906bSopenharmony_ci
64b877906bSopenharmony_ci[deps/tinycthread.{c,h}]
65b877906bSopenharmony_ciindent_style = space
66b877906bSopenharmony_ciindent_size = 2
67b877906bSopenharmony_ci
68