mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-11-21 03:13:05 +08:00
Add .editorconfig
The main use right now is getting properly spaced diff views on GitHub, but perhaps this will also help developers with editors that we currently don't have setup recipes for. The settings mirror mostly what's currently in .dir-locals.el. Discussion: https://www.postgresql.org/message-id/flat/273cb788-bbb2-ff34-ad6f-5192b44e5049%402ndquadrant.com
This commit is contained in:
parent
2032645b19
commit
ecb09cd5de
14
.editorconfig
Normal file
14
.editorconfig
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
root = true
|
||||||
|
|
||||||
|
[*.{c,h,l,y,pl,pm}]
|
||||||
|
indent_style = tab
|
||||||
|
indent_size = tab
|
||||||
|
tab_width = 4
|
||||||
|
|
||||||
|
[*.{sgml,xml}]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 1
|
||||||
|
|
||||||
|
[*.xsl]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
Loading…
Reference in New Issue
Block a user