| 1 |
# IMPORTANT: After updating this file, also run src/tools/generate_editorconfig.py |
| 2 |
|
| 3 |
* whitespace=space-before-tab,trailing-space |
| 4 |
*.[chly] whitespace=space-before-tab,trailing-space,indent-with-non-tab,tabwidth=4 |
| 5 |
*.cpp whitespace=space-before-tab,trailing-space,indent-with-non-tab,tabwidth=4 |
| 6 |
*.pl whitespace=space-before-tab,trailing-space,tabwidth=4 |
| 7 |
*.pm whitespace=space-before-tab,trailing-space,tabwidth=4 |
| 8 |
*.po whitespace=space-before-tab,trailing-space,tab-in-indent,-blank-at-eof |
| 9 |
*.py whitespace=space-before-tab,trailing-space,tab-in-indent |
| 10 |
*.sgml whitespace=space-before-tab,trailing-space,tab-in-indent |
| 11 |
*.xml whitespace=space-before-tab,trailing-space,tab-in-indent |
| 12 |
*.xsl whitespace=space-before-tab,trailing-space,tab-in-indent |
| 13 |
|
| 14 |
# Avoid confusing ASCII underlines with leftover merge conflict markers |
| 15 |
README conflict-marker-size=48 |
| 16 |
README.* conflict-marker-size=48 |
| 17 |
|
| 18 |
# Certain data files that contain special whitespace, and other special cases |
| 19 |
*.data -whitespace |
| 20 |
contrib/pgcrypto/sql/pgp-armor.sql whitespace=-blank-at-eol |
| 21 |
src/backend/catalog/sql_features.txt whitespace=space-before-tab,blank-at-eof,-blank-at-eol |
| 22 |
|
| 23 |
# Test output files that contain extra whitespace |
| 24 |
*.out -whitespace |
| 25 |
src/interfaces/ecpg/test/expected/* -whitespace |
| 26 |
|
| 27 |
# These files are maintained or generated elsewhere. We take them as is. |
| 28 |
configure -whitespace |
| 29 |
ppport.h -whitespace |
| 30 |
src/backend/jit/llvm/SectionMemoryManager.cpp -whitespace |
| 31 |
src/backend/jit/llvm/SectionMemoryManager.LICENSE -whitespace |
| 32 |
src/backend/regex/COPYRIGHT -whitespace |
| 33 |
src/backend/snowball/libstemmer/*.c -whitespace |
| 34 |
src/backend/utils/mb/Unicode/*-std.txt -whitespace |
| 35 |
src/include/jit/SectionMemoryManager.h -whitespace |
| 36 |
src/include/snowball/libstemmer/* -whitespace |
| 37 |
src/timezone/data/* -whitespace |
| 38 |
src/tools/pg_bsd_indent/* -whitespace |
| 39 |
src/tools/pg_bsd_indent/tests/* -whitespace |
| 40 |
src/tools/pg_bsd_indent/*.[ch] whitespace=-blank-at-eol,-blank-at-eof,tabwidth=8 |