]> Sergey Matveev's repositories - public-inbox.git/commitdiff
Add EditorConfig file
authorThiago Jung Bauermann <bauermann@kolabnow.com>
Fri, 10 Jun 2022 15:51:43 +0000 (12:51 -0300)
committerEric Wong <e@80x24.org>
Sat, 11 Jun 2022 00:21:12 +0000 (00:21 +0000)
This allows several editors to automatically use the correct settings when
editing public-inbox files.

[ew: add to MANIFEST, too]

.editorconfig [new file with mode: 0644]
MANIFEST

diff --git a/.editorconfig b/.editorconfig
new file mode 100644 (file)
index 0000000..665a80d
--- /dev/null
@@ -0,0 +1,12 @@
+# EditorConfig configuration for public-inbox
+# https://EditorConfig.org
+
+# Top-most EditorConfig file
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+charset = utf-8
+indent_style = tab
index 46979908d69d9a73b7b83d11a88c4693257b00c0..ce2cf4a583f6bc804cb36f76416ee3fddf81a7e0 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,3 +1,4 @@
+.editorconfig
 .gitattributes
 .gitignore
 AUTHORS