aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorKiminuo <kiminuo@protonmail.com>2021-02-09 08:32:50 +0100
committerKiminuo <kiminuo@protonmail.com>2021-02-10 08:00:06 +0100
commit7a135d57b2ac17477b25d5046a3bec57eac3ab30 (patch)
treed133749a195246113388ef1897b338ac5775b10d /.editorconfig
parent09530b0255aba083bf168322a95b89cc387e616f (diff)
Add EditorConfig file.
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig26
1 files changed, 26 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000000..4967e675f6
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,26 @@
+# This is the top-most EditorConfig file.
+root = true
+
+# For all files.
+[*]
+charset = utf-8
+end_of_line = lf
+indent_style = space
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+# Source code files
+[*.{h,cpp,py,sh}]
+indent_size = 4
+
+# .cirrus.yml, .appveyor.yml, .fuzzbuzz.yml, etc.
+[*.yml]
+indent_size = 2
+
+# Makefiles
+[{*.am,Makefile.*.include}]
+indent_style = tab
+
+# Autoconf scripts
+[configure.ac]
+indent_size = 2