Re: Add trim_trailing_whitespace to editorconfig file
От | Jelte Fennema-Nio |
---|---|
Тема | Re: Add trim_trailing_whitespace to editorconfig file |
Дата | |
Msg-id | CAGECzQQXJqGNuNgnMB3Ug_GJDfbqCq_HEiZf4iurTLhE3nMnJA@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Add trim_trailing_whitespace to editorconfig file (Peter Eisentraut <peter@eisentraut.org>) |
Список | pgsql-hackers |
On Fri, 9 Aug 2024 at 15:16, Peter Eisentraut <peter@eisentraut.org> wrote: > -*.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? That's there so that the generated .editorconfig file the correct indent_size. I guess another approach would be to change the generate_editorconfig.py script to include hardcoded values for these 4 filetypes.
В списке pgsql-hackers по дате отправления: