2016-08-06 13:52:29 +02:00
|
|
|
# EditorConfig is awesome: http://EditorConfig.org
|
|
|
|
|
|
|
|
# top-most EditorConfig file
|
|
|
|
root = true
|
|
|
|
|
|
|
|
# Unix-style newlines with a newline ending every file
|
|
|
|
[*]
|
|
|
|
end_of_line = lf
|
|
|
|
insert_final_newline = true
|
|
|
|
|
|
|
|
# 4 space indentation
|
2018-06-03 21:23:13 +02:00
|
|
|
[*.{c,h,lua,py}]
|
2016-08-06 13:52:29 +02:00
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
|
|
|
|
|
|
|
[*.{xml,json}]
|
|
|
|
charset = utf-8
|
2020-07-17 18:46:14 +02:00
|
|
|
indent_size = 2
|
2016-08-06 13:52:29 +02:00
|
|
|
|
|
|
|
# Tab indentation (no size specified)
|
|
|
|
[Makefile]
|
|
|
|
indent_style = tab
|
|
|
|
|
|
|
|
# Matches exact files
|
|
|
|
[.travis.yml]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
2018-09-25 18:02:00 +02:00
|
|
|
|
|
|
|
# Matches exact files
|
|
|
|
[CMakeLists.txt]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|