Skip to content

Commit ecb09cd

Browse files
committed
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
1 parent 2032645 commit ecb09cd

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.editorconfig

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
root = true
2+
3+
[*.{c,h,l,y,pl,pm}]
4+
indent_style = tab
5+
indent_size = tab
6+
tab_width = 4
7+
8+
[*.{sgml,xml}]
9+
indent_style = space
10+
indent_size = 1
11+
12+
[*.xsl]
13+
indent_style = space
14+
indent_size = 2

0 commit comments

Comments
 (0)