about summary refs log tree commit diff
path: root/.editorconfig
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-04-09 10:04:57 +0300
committerAzat Bahawi <azat@bahawi.net>2024-04-09 10:04:57 +0300
commit493fb0d2d7acbfee929d0525ae95a1f36cdf43a9 (patch)
tree0dc184ad983e13403d4a1c6643512bb4f49bffda /.editorconfig
parent2024-04-01 (diff)
2024-04-09
Diffstat (limited to '')
-rw-r--r--.editorconfig38
1 files changed, 38 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..322d04f
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,38 @@
+root=true
+
+[*]
+charset=utf-8
+end_of_line=lf
+indent_size=2
+indent_style=space
+insert_final_newline=true
+max_line_length=80
+trim_trailing_whitespace=true
+
+[*.nix]
+indent_size=2
+indent_style=space
+
+[*.py]
+indent_size=4
+indent_style=space
+
+[*.{json,jsn}]
+indent_size=2
+indent_style=space
+
+[*.{lisp,cl,rkt,scm,el}]
+indent_size=2
+indent_style=space
+
+[*.{sh,bash}]
+indent_size=2
+indent_style=space
+
+[*.{toml,tml}]
+indent_size=2
+indent_style=space
+
+[*.{yaml,yml}]
+indent_size=2
+indent_style=space

Consider giving Nix/NixOS a try! <3