summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.editorconfig22
1 files changed, 21 insertions, 1 deletions
diff --git a/.editorconfig b/.editorconfig
index 86ba2134..58738895 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -1,6 +1,26 @@
-indent_style = tab
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
indent_size = 8
+indent_style = tab
+insert_final_newline = true
+max_line_length = 80
+tab_width = 8
+trim_trailing_whitespace = true
+
+[.git/**]
+max_line_length = 72
[*.nix]
indent_style = space
indent_size = 2
+
+[Cargo.toml]
+indent_style = space
+indent_size = 4
+
+[*.rs]
+indent_style = space
+indent_size = 4