summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
author·𐑑𐑴𐑕𐑑𐑩𐑀2025-12-10 13:00:20 +0000
committer·𐑑𐑴𐑕𐑑𐑩𐑀2025-12-10 13:00:20 +0000
commite4f53f2598728bc649b14c8ce5acb58c2019507a (patch)
tree0b7ec07ff4f0801242505892a491f9bf8b36d055 /.editorconfig
downloadnixtaml-e4f53f2598728bc649b14c8ce5acb58c2019507a.tar
nixtaml-e4f53f2598728bc649b14c8ce5acb58c2019507a.tar.gz
nixtaml-e4f53f2598728bc649b14c8ce5acb58c2019507a.tar.bz2
nixtaml-e4f53f2598728bc649b14c8ce5acb58c2019507a.tar.lz
nixtaml-e4f53f2598728bc649b14c8ce5acb58c2019507a.tar.xz
nixtaml-e4f53f2598728bc649b14c8ce5acb58c2019507a.tar.zst
nixtaml-e4f53f2598728bc649b14c8ce5acb58c2019507a.zip
onset
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig21
1 files changed, 21 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..2dc0099
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,21 @@
+# http://editorconfig.org/
+
+# Tabs are preferred where possible; this is the only accessible choice
+
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+insert_final_newline = true
+indent_style = tab
+trim_trailing_whitespace = true
+
+[*.rst]
+indent_style = unset
+indent_size = unset
+
+# Spaces are practically required for Nix C++ as magic strings won’t work
+[*.nix]
+indent_style = space
+indent_size = 3