| 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 |
|
| 9 |
root = true |
| 10 |
|
| 11 |
[*] |
| 12 |
charset = utf-8 |
| 13 |
end_of_line = lf |
| 14 |
|
| 15 |
[include/GLFW/*.h] |
| 16 |
indent_style = space |
| 17 |
indent_size = 4 |
| 18 |
|
| 19 |
[{src,examples,tests}/*.{c,m,h,rc,in}] |
| 20 |
indent_style = space |
| 21 |
indent_size = 4 |
| 22 |
|
| 23 |
[CMakeLists.txt] |
| 24 |
indent_style = space |
| 25 |
indent_size = 4 |
| 26 |
|
| 27 |
[CMake/**.{cmake,in}] |
| 28 |
indent_style = space |
| 29 |
indent_size = 4 |
| 30 |
|
| 31 |
[*.{md}] |
| 32 |
indent_style = space |
| 33 |
indent_size = 4 |
| 34 |
trim_trailing_whitespace = false |
| 35 |
|
| 36 |
[DoxygenLayout.xml] |
| 37 |
indent_style = space |
| 38 |
indent_size = 2 |
| 39 |
|
| 40 |
[docs/*.{scss,html}] |
| 41 |
indent_style = tab |
| 42 |
indent_size = unset |
| 43 |
|
| 44 |
[deps/getopt.{c,h}] |
| 45 |
indent_style = space |
| 46 |
indent_size = 2 |
| 47 |
|
| 48 |
[deps/linmath.h] |
| 49 |
indent_style = tab |
| 50 |
tab_width = 4 |
| 51 |
indent_size = 4 |
| 52 |
trim_trailing_whitespace = false |
| 53 |
|
| 54 |
[deps/nuklear*.h] |
| 55 |
indent_style = space |
| 56 |
indent_size = 4 |
| 57 |
|
| 58 |
[deps/tinycthread.{c,h}] |
| 59 |
indent_style = space |
| 60 |
indent_size = 2 |
| 61 |
|