From 05c84a4edff04782602ddcdbe62a691ba64324c1 Mon Sep 17 00:00:00 2001 From: Naiyang Lin Date: Tue, 30 Aug 2022 19:58:16 +0800 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..116ccb4 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +# Top-most EditorConfig file +root = true + +# Unix-style newlines +[*] +charset = utf-8 +insert_final_newline = true +trim_trailing_whitespace = true +indent_style = space + +[{*.cmake,CMakeLists.txt,*.yml}] +indent_size = 2 + +[*.{h,hpp,c,cpp}] +indent_size = 4