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