[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#58442] [PATCH 1/1] Add EditorConfig specification.
From: |
( |
Subject: |
[bug#58442] [PATCH 1/1] Add EditorConfig specification. |
Date: |
Tue, 11 Oct 2022 16:22:32 +0100 |
* .editorconfig: New file.
---
.editorconfig | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 .editorconfig
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000000..bc68ff24c8
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,16 @@
+root = true
+
+[*.{c,h,cpp,hpp,el,scm,ac,am,m4,po}{,.in}]
+end_of_line = lf
+insert_final_newline = true
+charset = utf-8
+trim_trailing_whitespace = true
+
+[*.{c,h,cpp,hpp,ac,am,m4,el,scm}{,.in}]
+max_line_length = 85
+
+[*.{c,h,cpp,hpp,ac,m4,el,scm}{,.in}]
+indent_style = space
+
+[*.{c,h,cpp,hpp}{,.in}]
+indent_size = 4
--
2.38.0