summary refs log tree commit diff stats
path: root/.editorconfig
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-07-19 15:55:34 +0200
committerSoispha <soispha@vhack.eu>2023-07-19 15:55:34 +0200
commit218e599d2da06edee3a629d19a9f465fb71c9ad8 (patch)
treec37c52a4b0f42606792836384b94ed4c25863dce /.editorconfig
parentMerge: Branch 'update' (diff)
parentStyle(treewide): Format after removing vim lines (diff)
downloadnixos-server-218e599d2da06edee3a629d19a9f465fb71c9ad8.tar.gz
nixos-server-218e599d2da06edee3a629d19a9f465fb71c9ad8.zip
Merge: Branch 'streamline'
Diffstat (limited to '')
-rw-r--r--.editorconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..8cfc43a
--- /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