aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.editorconfig
diff options
context:
space:
mode:
author简律纯 <hsiangnianian@outlook.com>2023-04-28 01:36:44 +0800
committer简律纯 <hsiangnianian@outlook.com>2023-04-28 01:36:44 +0800
commitdd84b9d64fb98746a230cd24233ff50a562c39c9 (patch)
treeb583261ef00b3afe72ec4d6dacb31e57779a6faf /.editorconfig
parent0b46fcd72ac34382387b2bcf9095233efbcc52f4 (diff)
downloadHydroRoll-dd84b9d64fb98746a230cd24233ff50a562c39c9.tar.gz
HydroRoll-dd84b9d64fb98746a230cd24233ff50a562c39c9.zip
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