From f3aeb99ea91b0c12974e74f688426654505ebc4b Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 5 Oct 2022 18:18:05 +0200 Subject: [PATCH] Add .editorconfig Add a basic .editorconfig file so that my editor stops inserting final newlines into the lexer .xml files which do not have them. --- .editorconfig | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..d80374e07 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +root = true + +[*] +indent_style = tab +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.xml] +indent_style = space +indent_size = 2 +insert_final_newline = false