Add .editorconfig

This commit is contained in:
Naiyang Lin 2022-08-30 19:58:16 +08:00
parent ca0cdfc52d
commit 05c84a4edf

15
.editorconfig Normal file
View File

@ -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