2016-07-01 18:21:54 +00:00
|
|
|
# http://editorconfig.org/
|
|
|
|
root = true
|
|
|
|
|
|
|
|
[*]
|
2017-04-15 23:35:43 +00:00
|
|
|
# Temporarily disabled because MSVC2017 misinterprets as utf-8-bom.
|
|
|
|
# TODO: Reinstate once fixed build is released:
|
|
|
|
# https://developercommunity.visualstudio.com/content/problem/22922/editorconfig-support-interprets-charset-utf-8-as-u.html
|
|
|
|
#charset = utf-8
|
2016-07-01 18:21:54 +00:00
|
|
|
indent_style = tab
|
|
|
|
insert_final_newline = true
|
2016-07-17 16:03:44 +00:00
|
|
|
# Would be nice, but don't want to change files unnecessarily.
|
|
|
|
#trim_trailing_whitespace = true
|
2016-07-01 18:21:54 +00:00
|
|
|
|
|
|
|
[*.py]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
[*.sh]
|
|
|
|
end_of_line = lf
|
|
|
|
|
2016-09-06 02:26:51 +00:00
|
|
|
[*.rc]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
|
|
|
|
2016-07-01 18:21:54 +00:00
|
|
|
[Core/Dialog/PSPOskDialog.cpp]
|
|
|
|
charset = utf-16le
|
|
|
|
|
2016-08-08 00:59:35 +00:00
|
|
|
[ext/native/tools/kanjifilter.h]
|
|
|
|
# This file may need to force a BOM so compilers treat as utf-8.
|
|
|
|
charset = utf-8-bom
|
|
|
|
|
2016-09-06 02:26:51 +00:00
|
|
|
[Windows/{aboutbox.rc,version.rc}]
|
2016-07-01 18:21:54 +00:00
|
|
|
charset = utf-16le
|