From b64021ffb255b97f7a652f7e9e2c8dcf5e747ead Mon Sep 17 00:00:00 2001 From: David Capello Date: Wed, 13 Sep 2023 10:36:38 -0300 Subject: [PATCH] Add an initial EditorConfig --- .editorconfig | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..1bec26278 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,24 @@ +root = true + +# Enable this in the future (we have to apply this change to all files +# in one commit first). +#[*] +#end_of_line = lf +#insert_final_newline = true + +[*.cpp] +indent_style = space +indent_size = 2 + +[{CMakeLists.txt,*.cmake}] +indent_size = 2 +indent_style = space + +[*.lua] +indent_style = space +indent_size = 2 + +[*.sh] +indent_style = space +indent_size = 4 +tab_width = 8