From a4e3fbb42bb04cb2776b4271f09eedbd4f4f0311 Mon Sep 17 00:00:00 2001 From: ineedbots Date: Thu, 9 Sep 2021 11:23:12 -0600 Subject: [PATCH] gitattrs and editorconfig --- .editorconfig | 11 +++++++++++ .gitattributes | 2 ++ .gitignore | 4 +++- 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .editorconfig create mode 100644 .gitattributes diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..bb97c78 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,11 @@ +root = true + +[*] +indent_style = tab +indent_size = 2 +charset = latin1 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..d070698 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +*.gsc linguist-language=C +*.gsx linguist-language=C diff --git a/.gitignore b/.gitignore index d5bb8e7..37882b7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,10 @@ -# Ignore everything in repository root +# Ignore everything in repository root /* # Files to not ignore !/.gitignore +!/.editorconfig +!/.gitattributes !/z_server.bat