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