Add editorconfig support for Postgres spec files

From: "Tristan Partin" <tristan(at)partin(dot)io>
To: "pgsql-hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Add editorconfig support for Postgres spec files
Date: 2026-04-16 21:49:57
Message-ID: DHUWT364KEGW.2YFYVOL3A2FTV@partin.io
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I was reading through some spec files today, and my editor was resolving
the tab width as 8. I looked at some of the spec files, and we seem to
have standardized on a tab width of 4 with tabs expanded into spaces.
I decided to encode this in the .editorconfig file for convenience.

PS: I am working on a tree-sitter grammar for these files. I'll probably
try to set up a TextMate grammar was well for those who use editors that
support that. I'll share that later.

--
Tristan Partin
PostgreSQL Contributors Team
AWS (https://aws.amazon.com)

Attachment Content-Type Size
spec.patch text/x-patch 400 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Smith 2026-04-16 23:03:38 Re: EXCEPT TABLE - Case inconsistency for describe \d and \dRp+
Previous Message Andrew Dunstan 2026-04-16 20:58:53 Re: Add errdetail() with PID and UID about source of termination signal