From dd84b9d64fb98746a230cd24233ff50a562c39c9 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Fri, 28 Apr 2023 01:36:44 +0800 Subject: --- .editorconfig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to '.editorconfig') 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 -- cgit v1.2.3-70-g09d2