aboutsummaryrefslogtreecommitdiff
path: root/templates/rust/.editorconfig
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2025-08-13 00:18:14 +0200
committerLinnea Gräf <nea@nea.moe>2025-08-13 00:18:14 +0200
commit1eb8f8986f5784e59a1d9b87e3f82c80caa646ab (patch)
treedecefbcb9344dbd16f16eb29ff46ec3f23d367e4 /templates/rust/.editorconfig
parentbb1c7ceeddf665e74ac26c0b7145190dba57c59f (diff)
downloadnix-infra-master.tar.gz
nix-infra-master.tar.bz2
nix-infra-master.zip
snapshot: Mi 13. Aug 00:18:14 CEST 2025HEADmaster
Diffstat (limited to 'templates/rust/.editorconfig')
-rw-r--r--templates/rust/.editorconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/rust/.editorconfig b/templates/rust/.editorconfig
new file mode 100644
index 0000000..0cd2f7e
--- /dev/null
+++ b/templates/rust/.editorconfig
@@ -0,0 +1,12 @@
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = true
+charset = utf-8
+indent_style = tab
+trim_trailing_whitespace = true
+
+[*.{yaml,yml}]
+indent_size = 4
+indent_style = space