Re: Add trim_trailing_whitespace to editorconfig file - Mailing list pgsql-hackers

From Jelte Fennema-Nio
Subject Re: Add trim_trailing_whitespace to editorconfig file
Date
Msg-id CAGECzQTADLt7B9zXFTzZQ4QUHjzU5NZHHuOAXufR4QcucW=erA@mail.gmail.com
Whole thread Raw
In response to Re: Add trim_trailing_whitespace to editorconfig file  (Jelte Fennema-Nio <postgres@jeltef.nl>)
Responses Re: Add trim_trailing_whitespace to editorconfig file
List pgsql-hackers
On Tue, 9 Apr 2024 at 12:42, Jelte Fennema-Nio <postgres@jeltef.nl> wrote:
> Okay, I spent the time to add a script to generate the editorconfig
> based on .gitattributes after all. So attached is a patch that adds
> that.

I would love to see this patch merged (or at least some feedback on
the latest version). I think it's pretty trivial and really low risk
of breaking anyone's workflow, and it would *significantly* improve my
own workflow.

Matthias mentioned on Discord that our vendored in pg_bsd_indent uses
a tabwidth of 8 and that was showing up ugly in his editor. I updated
the patch to include a fix for that too.

Attachment

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: pgsql: Introduce hash_search_with_hash_value() function
Next
From: Nathan Bossart
Date:
Subject: Re: pgsql: Introduce hash_search_with_hash_value() function