Add .editorconfig
authorChristoph Berg <[email protected]>
Thu, 6 Jun 2024 13:26:31 +0000 (15:26 +0200)
committerChristoph Berg <[email protected]>
Thu, 6 Jun 2024 13:26:31 +0000 (15:26 +0200)
File copied verbatim from PostgreSQL.

.editorconfig[new file with mode: 0644]

diff --git a/.editorconfig b/.editorconfig
new file mode 100644 (file)
index 0000000..d69a3d1
--- /dev/null
@@ -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