aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.editorconfig
diff options
context:
space:
mode:
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig17
1 files changed, 17 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
index 1e022b5..748ec59 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -1,6 +1,7 @@
root = true
[*]
+charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
@@ -8,6 +9,8 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
+[*.t]
+trim_trailing_whitespace = false
[*.py]
indent_size = 4
@@ -17,3 +20,17 @@ insert_final_newline = false
[*.md]
trim_trailing_whitespace = false
+
+[Makefile]
+indent_style = tab
+
+[{go.mod,go.sum,*.go}]
+indent_style = tab
+
+[nginx.conf]
+indent_size = 8
+
+[*.rs]
+# Keep in sync with rustfmt
+max_line_length = 100
+indent_size = 4