From 3098d286ef71fed07c2cf4f0349d0093d0411187 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sun, 12 Feb 2023 13:22:30 +0200 Subject: [PATCH] .editorconfig & Windows/.editorconfig: initial commit --- .editorconfig | 20 ++++++++++++++++++++ Windows/.editorconfig | 4 ++++ 2 files changed, 24 insertions(+) create mode 100644 .editorconfig create mode 100644 Windows/.editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..e3c468cb --- /dev/null +++ b/.editorconfig @@ -0,0 +1,20 @@ +root = true + +[*] +# Future: https://github.com/editorconfig/editorconfig/issues/89 +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true +charset = utf-8 +indent_style = space +indent_size = 4 + +# specific to Mikaela/shell-things +[gitconfig] +indent_style = tab + +[.{git*,mailmap}] +indent_style = tab + +[*.{reg,bat,ahk}] +end_of_line = crlf diff --git a/Windows/.editorconfig b/Windows/.editorconfig new file mode 100644 index 00000000..d10265b7 --- /dev/null +++ b/Windows/.editorconfig @@ -0,0 +1,4 @@ +root = false + +[*] +end_of_line = crlf