mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
eb67e2396f
These config files set default formatting behaviour for a large number of common editors, see https://editorconfig.org The root=true setting in libstdc++-v3/.editorconfig prevents looking in parent directories for additional settings. If we add a .editorconfig at the top-level we might want to use root=true there instead, and allow libstdc++-v3/.editorconfig to inherit some some settings from there (and only override things we want to do differently). libstdc++-v3/ChangeLog: * .editorconfig: New file. * include/std/.editorconfig: New file.
39 lines
592 B
INI
39 lines
592 B
INI
# top-most EditorConfig file for libstdc++-v3
|
|
root = true
|
|
|
|
[*]
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
|
|
[*.h,*.cc]
|
|
charset = utf-8
|
|
indent_style = tab
|
|
indent_size = 2
|
|
tab_width = 8
|
|
trim_trailing_whitespace = true
|
|
|
|
[Makefile*,ChangeLog*]
|
|
indent_style = tab
|
|
indent_size = 8
|
|
trim_trailing_whitespace = true
|
|
|
|
[ChangeLog*]
|
|
charset = utf-8
|
|
|
|
[*.xml]
|
|
charset = utf-8
|
|
indent_size = 2
|
|
tab_width = 8
|
|
trim_trailing_whitespace = true
|
|
|
|
[*.py]
|
|
indent_style = space
|
|
indent_size = 4
|
|
trim_trailing_whitespace = true
|
|
|
|
[*.exp]
|
|
indent_style = tab
|
|
indent_size = 4
|
|
tab_width = 8
|
|
trim_trailing_whitespace = true
|