From 6f4144bfa82ce40243e9ee4effd60b6722ad5f2e Mon Sep 17 00:00:00 2001 From: Marius Petcu Date: Mon, 26 Aug 2019 14:53:46 +0300 Subject: [PATCH] Add .editorconfig --- .editorconfig | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..7b9f7b0 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +root = true + +[*.{lua,lua_,script,gui_script,render_script}] +indent_style = space +indent_size = 2 +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.{c,cpp,h,hpp}] +indent_style = space +indent_size = 4 +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true