Re: Add .editorconfig - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: Add .editorconfig
Date
Msg-id BCBA36BB-7969-478A-8267-0BA75249AAC9@yesql.se
Whole thread Raw
In response to Add .editorconfig  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: Add .editorconfig
List pgsql-hackers
> On 11 Dec 2019, at 17:00, Peter Eisentraut <peter.eisentraut@2ndquadrant.com> wrote:
>
> There were a couple of recent threads that wanted to add an .editorconfig file but never actually ended up doing
so.[0][1] Here is a patch.  It is meant to match more or less what's in .dir-locals.el. 

+[*.{c,h,l,y,pl,pm}]

What about *.sh?

Not that there is much of Python in the tree, but shouldn't those also be
covered if we do this?

[*.py]
indent_style = space
indent_size = 4

cheers ./daniel


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Add .editorconfig
Next
From: Peter Eisentraut
Date:
Subject: Re: Add .editorconfig