aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorTom Harley2018-05-16 18:51:18 +0100
committerTom Harley2018-05-16 18:51:18 +0100
commita5e458b1dac680a14db63cbef5b7d77dfba1ad53 (patch)
tree15cda15c89e34aa0b59b6505dfa03f8fb7ec0f86 /.editorconfig
parentRearrange source to make way for nondeterminism (diff)
downloadmachines-a5e458b1dac680a14db63cbef5b7d77dfba1ad53.tar.gz
machines-a5e458b1dac680a14db63cbef5b7d77dfba1ad53.zip

Add .editorconfig file

Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig24
1 files changed, 24 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..2b0586d
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,24 @@
+root = true
+
+[*]
+indent_style = space
+indent_size = 2
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[*.md]
+trim_trailing_whitespace = false
+
+[*{Makefile,.mak}]
+indent_style = tab
+indent_size = 8
+
+[*.rs]
+indent_style = space
+indent_size = 4
+
+[*.nim]
+indent_style = space
+indent_size = 2