From b0b480a7f6e795a32a84105f2be22ed88219e319 Mon Sep 17 00:00:00 2001 From: DemonKingSwarn Date: Mon, 20 Apr 2026 19:01:46 +0530 Subject: Please enter the commit message for your changes. Lines starting with '#' will be ignored, and an empty message aborts the commit. an automated commit --- home/editorconfig.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 home/editorconfig.nix (limited to 'home') 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; + }; + }; + }; +} -- cgit v1.1