mirror of
https://github.com/libretro/pcsx2.git
synced 2024-12-20 08:48:16 +00:00
a0b014ecfc
The vast majority of PCSX2 files use tabs for indentations, and all new commits also use tabs for indents and not spaces. Therefore, having space .editorConfig makes it extremely hard to work on PCSX2 files with editors which support this config file. There were some concerns that github will make things harder for us with tabs at .editorConfig, and if that indeed becomes an issue then we'll have to address it somehow. For now, let's hope it won't. Also, commented out the line which automatically removes trailing spaces, since it affects the entire file and therefore makes changes which the committer did not intend to make at places unrelated to the commit.
13 lines
285 B
INI
13 lines
285 B
INI
# Should always be specified at the top of the file outside of any sections
|
|
root = true
|
|
|
|
# TODO: Add one for resource script file and other Linux specific files ?
|
|
|
|
[*.{cpp,h}]
|
|
indent_style = tab
|
|
indent_size = 4
|
|
#trim_trailing_whitespace = true
|
|
|
|
[*.md]
|
|
trim_trailing_whitespace = false
|