From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>, Andrew Dunstan <andrew(at)dunslane(dot)net> |
Cc: | Daniel Gustafsson <daniel(at)yesql(dot)se>, Melanie Plageman <melanieplageman(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Matthias van de Meent <boekewurm+postgres(at)gmail(dot)com> |
Subject: | Re: Add trim_trailing_whitespace to editorconfig file |
Date: | 2024-08-09 13:16:11 |
Message-ID: | cf928852-4717-4ba4-92ec-006e937eb014@eisentraut.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 07.08.24 22:42, Jelte Fennema-Nio wrote:
> I also added a .gitattributes rule for .py files, and changed the
> default tab_width to unset. Because I realized the resulting
> .editorconfig was using tab_width 8 for python files when editing
> src/tools/generate_editorconfig.py
This looks kind of weird:
-*.sgml whitespace=space-before-tab,trailing-space,tab-in-indent
-*.x[ms]l whitespace=space-before-tab,trailing-space,tab-in-indent
+*.py whitespace=space-before-tab,trailing-space,tab-in-indent,tabwidth=4
+*.sgml whitespace=space-before-tab,trailing-space,tab-in-indent,tabwidth=1
+*.xml whitespace=space-before-tab,trailing-space,tab-in-indent,tabwidth=1
+*.xsl whitespace=space-before-tab,trailing-space,tab-in-indent,tabwidth=2
Why add tabwidth settings to files that are not supposed to contain tabs?
From | Date | Subject | |
---|---|---|---|
Next Message | vignesh C | 2024-08-09 13:18:04 | Re: Logical Replication of sequences |
Previous Message | Melanie Plageman | 2024-08-09 13:15:01 | Re: Add LSN <-> time conversion functionality |