about summary refs log tree commit diff stats
path: root/.editorconfig
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-07-10 17:16:41 +0200
committerSoispha <soispha@vhack.eu>2023-07-10 17:16:41 +0200
commit3262a78f7a2089f613c7455abc0613010579b2e7 (patch)
treea755066efa8745124f9b5aebd6f70e528c047b12 /.editorconfig
parentFeat(hm/conf/mumble): Add (diff)
downloadnixos-config-3262a78f7a2089f613c7455abc0613010579b2e7.tar.gz
nixos-config-3262a78f7a2089f613c7455abc0613010579b2e7.zip
Style(treewide): Switch to editorconfig
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..8cfc43a5
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,16 @@
+# EditorConfig is awesome: https://EditorConfig.org
+
+# top-most EditorConfig file
+root = true
+
+# Unix-style newlines with a newline ending every file
+[*]
+end_of_line = lf
+insert_final_newline = true
+
+# Matches multiple files with brace expansion notation
+# Set default charset
+[*.{nix}]
+charset = utf-8
+indent_style = space
+indent_size = 2