summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-04-04 14:35:52 +0200
committerLaurenz <laurmaedje@gmail.com>2023-04-04 14:35:52 +0200
commit8271ba5a521b2d442c605314124af2e456c1aa48 (patch)
treed0c292b891bfd9ac5aec437d0365d8f953750f80
parente77abf842d6beda4dab7d6e4718e372df4eb9410 (diff)
Add editor config
-rw-r--r--.editorconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..ffc8fbba
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,14 @@
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+indent_style = space
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[*.{rs,toml,json}]
+indent_size = 4
+
+[*.{typ,md}]
+indent_size = 2