aboutsummaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorDemonKingSwarn <rockingswarn@gmail.com>2026-04-20 19:01:46 +0530
committerDemonKingSwarn <rockingswarn@gmail.com>2026-04-20 19:01:46 +0530
commitb0b480a7f6e795a32a84105f2be22ed88219e319 (patch)
treeb6bf3b9de2f697c41a505c2ae3ea0e6b974999a6 /home
parentec6d6b12f2d4c58638c729f55236e0651e415265 (diff)
downloadodysseus-b0b480a7f6e795a32a84105f2be22ed88219e319.zip
odysseus-b0b480a7f6e795a32a84105f2be22ed88219e319.tar.gz
Please enter the commit message for your changes. Lines starting with '#' will be ignored, and an empty message aborts the commit.
an automated commit
Diffstat (limited to 'home')
-rw-r--r--home/editorconfig.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/home/editorconfig.nix b/home/editorconfig.nix
new file mode 100644
index 0000000..5c4561c
--- /dev/null
+++ b/home/editorconfig.nix
@@ -0,0 +1,24 @@
+{
+ editorconfig = {
+ enable = true;
+
+ settings = {
+ "*" = {
+ charset = "utf-8";
+ end_of_line = "lf";
+ insert_final_newline = true;
+ indent_size = 2;
+ indent_style = "space";
+ trim_trailing_whitespace = true;
+ };
+
+ "*.md" = {
+ indent_size = 4;
+ };
+
+ "*.rs" = {
+ indent_size = 4;
+ };
+ };
+ };
+}