aboutsummaryrefslogtreecommitdiff
path: root/syn-mid/.editorconfig
diff options
context:
space:
mode:
Diffstat (limited to 'syn-mid/.editorconfig')
-rw-r--r--syn-mid/.editorconfig22
1 files changed, 22 insertions, 0 deletions
diff --git a/syn-mid/.editorconfig b/syn-mid/.editorconfig
new file mode 100644
index 0000000..920ea40
--- /dev/null
+++ b/syn-mid/.editorconfig
@@ -0,0 +1,22 @@
+# EditorConfig configuration
+# http://EditorConfig.org
+
+# Top-most EditorConfig file
+root = true
+
+# Unix-style newlines with a newline ending every file, utf-8 charset
+[*]
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+charset = utf-8
+
+# Match rust/toml, set 4 space indentation
+[*.{rs,toml}]
+indent_style = space
+indent_size = 4
+
+# Match yaml/markdown, set 2 space indentation
+[*.{yml,md}]
+indent_style = space
+indent_size = 2