From bb9f77aa35ad0c8e1dbaa3ea6c78b60d9c5ec609 Mon Sep 17 00:00:00 2001 From: Whovian9369 Date: Tue, 12 Nov 2024 19:01:36 -0500 Subject: [PATCH] Add `.editorconfig`. --- .editorconfig | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..3c6651f --- /dev/null +++ b/.editorconfig @@ -0,0 +1,18 @@ +# EditorConfig configuration for my config -- See http://EditorConfig.org + +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file, utf-8 charset +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 + +# tab_width defaults to set indent_size + +# Set indent to two spaces for Nix files. +[*.nix] +indent_style = space +indent_size = 2 +trim_trailing_whitespace = true